with one click
initial-setup
// Sets up the development environment for GenVM repository. Use when setting up the repo for the first time or when dependencies need to be refreshed.
// Sets up the development environment for GenVM repository. Use when setting up the repo for the first time or when dependencies need to be refreshed.
Builds the GenVM project. Use after making code changes to compile Rust binaries.
Add RST docstrings to public Python methods/classes. Use when asked to document Python code.
Runs tests for the GenVM project. Use after making code changes to verify correctness.
| name | initial-setup |
| description | Sets up the development environment for GenVM repository. Use when setting up the repo for the first time or when dependencies need to be refreshed. |
To set up the GenVM development environment:
Enter the Nix flake environment:
nix develop .#full
Initialize git submodules:
git submodule update --init --recursive --depth 1
Source environment variables:
source env.sh
This adds tools/git-third-party to PATH and sources .env if it exists.
Update third-party dependencies:
./tools/git-third-party/git-third-party update --all
This updates wasmtime, wasm-tools, and applies GenVM-specific patches.
The repository will be ready for development with all dependencies properly configured.