Development Setup
Follow these steps to set up Chisel for local development.
Prerequisites
Section titled “Prerequisites”- Rust: Latest stable version (use rustup).
- Node.js: Required for building the landing page (Astro).
- VHS: Required for generating demo videos (
go install github.com/charmbracelet/vhs@latest).
Building the CLI
Section titled “Building the CLI”cargo build --release --bin chiselThe binary will be available at target/release/chisel.
Running the Landing Page
Section titled “Running the Landing Page”cd apps/landingnpm installnpm run devGenerating Demo Assets
Section titled “Generating Demo Assets”We use a script to ensure demos are recorded in a clean environment:
./generate_demos.shInternal Testing
Section titled “Internal Testing”Chisel includes a suite of integration tests for the workspace initialization and service logic:
cargo test