This document covers local development workflows for contributors.
The repository includes a ready-to-use dev container under .devcontainer/. It mounts your local repository folder at /app, enables GPU support, and sets --shm-size 512m.
- Windows or Linux with NVIDIA GPU and the minimum requirements listed in Minimum Requirements.
- Docker Engine / Docker Desktop is installed and running. On Windows, configure Docker to use WSL 2.
- NVIDIA Container Toolkit is installed on Linux hosts so Docker can use
--gpus all. - VS Code or Cursor with Dev Containers support enabled.
- Open this repository in VS Code or Cursor.
- Open the Command Palette (Ctrl+Shift+P)
- Run Dev Containers: Reopen in Container.
- Wait for the initial build to complete.
On first start, the post-create script automatically:
- builds the C++ components with CMake,
- builds the Rust
compute-nodebinary, - copies the runnable binary to
/app/compute-node.
Create your .env file as described in Deployment. Apply the environment inside the container:
source .devcontainer/apply_env_file.shRun the server:
./compute-nodeIf you update Docker/devcontainer settings or system dependencies, rebuild the environment:
- Command Palette -> Dev Containers: Rebuild Container
You can also manually rebuild the server binary inside the container, which is often enough after changing Rust code.
bash .devcontainer/build_server.sh 0.0.0Python code changes don't require a rebuild, just stop the server (Ctrl+C) and run it again (./compute-node)