Development Setup
Get your local development environment configured.
Prerequisites
- Rust nightly (managed by
rust-toolchain.toml) cargo-leptos:cargo install cargo-leptos --lockedlefthook: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.