Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Development Setup

Get your local development environment configured.

Prerequisites

  • Rust nightly (managed by rust-toolchain.toml)
  • cargo-leptos: cargo install cargo-leptos --locked
  • lefthook: cargo install lefthook (for pre-commit hooks)
  • commitizen: cargo install cargo-commitizen (for conventional commits)

Setup

# Install dependencies
cargo install cargo-leptos --locked

# Install git hooks
lefthook install

Running

# Development with hot-reload
just serve

# Build for development
just dev

# Build for release
just build

Code quality

# Run format and clippy checks
just check

# Auto-fix issues
just fix

# Run full quality suite
just quality

CI simulation

just ci

This runs the same checks as the Woodpecker CI pipeline locally.