- Clone the repository locally
- If you want to change something in DevPod agent code:
- Exchange the URL in DefaultAgentDownloadURL with a custom public repository release you have created.
- Build devpod via:
./hack/rebuild.sh
- Upload
test/devpod-linux-amd64
andtest/devpod-linux-arm64
to the public repository release assets.
- Build devpod via:
./hack/rebuild.sh
(asking for sudo password) - Add docker provider via
devpod provider add docker
- Configure docker provider via
devpod use provider docker
- Start devpod in vscode with
devpod up examples/simple
Prerequisites CLI:
Once installed, run
CGO_ENABLED=0 go build -ldflags "-s -w" -o devpod-cli
Prerequisites GUI:
To build the app on Linux, you will need the following dependencies:
sudo apt-get install libappindicator3-1 libgdk-pixbuf2.0-0 libbsd0 libxdmcp6 libwmf-0.2-7 libwmf-0.2-7-gtk libgtk-3-0 libwmf-dev libwebkit2gtk-4.0-37 librust-openssl-sys-dev librust-glib-sys-dev
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
Once installed, run
cd desktop
yarn tauri build --config src-tauri/tauri-dev.conf.json
The application should be in desktop/src-tauri/target/release