Local Development
At a glance
- Use this page for daily local iteration on the unified app (event sites + platform UI).
Do this
- Apply local migrations.
bash
npm run db:migrate:local- Start the local dev server.
bash
make devThis starts a single server that serves both event sites and the platform management UI at /platform/*.
- Run quality checks before merging.
bash
npm run check
npm testImportant inputs:
.dev.vars.example(local env vars template, repo root)apps/event-site/wrangler.toml(worker bindings)
When it fails
- Missing local DB state: rerun
npm run db:migrate:local. - Platform route issues: verify
PLATFORM_OPERATOR_EMAILSandPLATFORM_DOMAIN_SUFFIXenv vars. - See Troubleshooting.