Run Premortem locally and confirm the reviewer console loads at /app under the intended environment configuration.
Who this is forDevelopers evaluating Premortem or contributing to the monorepo.
Prerequisites- Node.js 20+ and pnpm 9.x (see packageManager in package.json).
- Supabase/Postgres via DATABASE_URL and DIRECT_URL in .env.local.
- Optional: Gemini keys for live LLM-backed audit flows.
Prerequisites
- Copy .env.example to .env.local and fill DATABASE_URL, DIRECT_URL, and provider keys.
- Run pnpm install at the repository root.
- For local verification only, set PREMORTEM_AUTH_DISABLED=1.
Start the stack
- pnpm run dev: syncs Prisma, starts the API runtime, and launches apps/web.
- Visit / for marketing, /app for the reviewer console, /docs for this hub.
- API default: http://127.0.0.1:18787 · Web default: http://127.0.0.1:13000.
Verify with checks
- pnpm run smoke:local checks /health, /, /app, and audit snapshot routes in a local environment.
- pnpm run smoke:onboarding-e2e submits a real audit and confirms persisted findings.
Expected result
pnpm dev serves the landing page at /, the console at /app, and the API responds on PREMORTEM_API_PORT.
Was this article helpful?