Local setup

Run Premortem locally and confirm the reviewer console loads at /app under the intended environment configuration.

Run Premortem locally and confirm the reviewer console loads at /app under the intended environment configuration.

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.

Related links

Announcement updates version release today!

ReleasesPrivacy
Terms