chore: add 'just run-release' (build web + run server with embed-web)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 14:30:41 +02:00
parent de035bd032
commit e700e1d3cf
+6
View File
@@ -4,6 +4,12 @@ set dotenv-load
run:
cargo run -p server
# Build the web SPA + run the server in release mode with the SPA embedded (served at /)
run-release:
# build.rs embeds web/dist, so the frontend must be built first
cd web && pnpm build
cargo run -p server --release --features embed-web
# Seed the baseline Spectrum cataloguing vocabularies + field definitions (idempotent)
seed:
cargo run -p server -- seed