Zeppelin's development environment runs entirely within a Docker container. Below you can find instructions for setting up the environment and getting started with development!
Note: If you'd just like to run the bot for your own server, see 👉 PRODUCTION.md 👈
- Install Docker
- Make a copy of
.env.examplecalled.env - Fill in the missing values in
.env - In VSCode: Install the
Dev Containersplugin - In VSCode: Run
Dev Containers: Open Folder in Container...and select the Zeppelin folder
- Install Docker
- Make a copy of
.env.examplecalled.env - Fill in the missing values in
.env - Run
docker compose -f docker-compose.development.yml upto start the development environment - In VSCode: Install the
Remote - SSHplugin - In VSCode: Run
Remote-SSH: Connect to Host...- As the address, use
ubuntu@127.0.0.1:3022(where3022matchesDEVELOPMENT_SSH_PORTin.env) - Use the password specified in
.envasDEVELOPMENT_SSH_PASSWORD
- As the address, use
- In VSCode: Once connected, click
Open folder...and select/home/ubuntu/zeppelin
- Install Docker
- Make a copy of
.env.examplecalled.env - Fill in the missing values in
.env - Run
docker compose -f docker-compose.development.yml upto start the development environment - Choose
Connect via SSHand create a new connection:- Username:
ubuntu - Host:
127.0.0.1 - Port:
3022(matching theDEVELOPMENT_SSH_PORTvalue in.env)
- Username:
- Click
Check Connection and Continueand enter the password specified in.envasDEVELOPMENT_SSH_PASSWORDwhen asked - In the next pane:
- IDE version: WebStorm, PHPStorm, or IntelliJ IDEA
- Project directory:
/home/ubuntu/zeppelin
- Click
Download and Start IDE
- Install Docker
- Make a copy of
.env.examplecalled.env - Fill in the missing values in
.env - Run
docker compose -f docker-compose.development.yml upto start the development environment - Use the following credentials for connecting with your IDE:
- Host:
127.0.0.1 - Port:
3022(matching theDEVELOPMENT_SSH_PORTvalue in.env) - Username:
ubuntu - Password: As specified in
.envasDEVELOPMENT_SSH_PASSWORD
- Host:
These commands are run inside the dev container. You should be able to open a terminal in your IDE after connecting to the dev environment.
pnpm install
cd ~/zeppelin/backendpnpm run watch
cd ~/zeppelin/dashboardpnpm run watch
Browse to https://localhost:3300 to view the dashboard