Commands
Authoritative command reference for development, testing, building, and deployment.
Development
| Command | Description |
|---|---|
make dev | Start local dev server (Node adapter) |
make build | Build the application |
make help | Show all available Makefile commands |
npm run dev | Alternative: start dev server via npm |
Quality checks
| Command | Description |
|---|---|
npm run check | TypeScript + Svelte type checking |
npm test | Run unit and integration tests |
npm run check:boundaries | Validate monorepo import boundaries |
Database
| Command | Description |
|---|---|
npm run db:generate | Generate Drizzle migration from schema changes |
npm run db:migrate:local | Apply migrations to local SQLite database |
npm run db:migrate:remote | Apply migrations to remote D1 database |
Documentation
| Command | Description |
|---|---|
npm run docs:dev | Start docs dev server |
npm run docs:build | Build docs site |
npm run docs:check | Validate docs links and structure |
CI workflows
| Workflow | File | Trigger |
|---|---|---|
| App CI/CD | .github/workflows/apps-ci.yml | Push to main |
| Docs Deploy | .github/workflows/docs-deploy.yml | Push to main (docs changes) |
The app CI/CD workflow runs: install → check → test → build → migrate → sync secrets → deploy.
Retired commands
These commands have been removed:
| Command | Replacement |
|---|---|
npm run new-event | Platform UI at /platform/events/create |
npm run use-event | Hostname resolution (no event selection needed) |
npm run setup-cloudflare | Manual resource setup + wrangler.toml |
npm run deploy-event | CI workflow apps-ci.yml |
npm run dev:control-plane | Unified app (make dev) |
npm run orchestrator:run | Removed — no orchestrator |
Related pages
- Local Development — development workflow details
- CI/CD Pipeline — deployment workflow stages
- Environment Variables — required configuration