Deployment
Build, migrate, and run Openfront Construction.
| Script | Effect |
|---|---|
npm run build | keystone build --no-ui && next build. Does not migrate |
npm run migrate | prisma migrate deploy |
npm start | next start |
A typical release builds, applies migrations as a separate step against a backed-up database, then starts:
npm run build
npm run migrate
npm startThe included railway.toml builds with Railpack using keystone build --no-ui && next build and starts with npm run migrate && next start. The README has a Vercel import button that asks for DATABASE_URL and SESSION_SECRET. Either way, you provision PostgreSQL, S3-compatible storage, and SMTP yourself. All app processes must share the same database and SESSION_SECRET.
Checks before release
npm run typecheck
npm run lint
npm run lint:schema
npm run test:security