Deployment
Deploy Openfront Vet Clinic on Railway or any Node host with PostgreSQL.
The repository includes railway.toml. The build runs keystone build --no-ui && next build, and the start command runs npm run migrate && next start.
Processes
| Process | Command | Purpose |
|---|---|---|
| Web | npm run migrate && next start | Applies migrations, then serves the dashboard, the client site, GraphQL and MCP. |
Checklist
- Provision PostgreSQL and set
DATABASE_URL. - Set
SESSION_SECRET. - Set the Stripe keys and point a Stripe webhook at
/api/integrations/payment/stripe/webhookif you take cards. - Deploy, open
/dashboard/initand create the first owner. - Set staff passwords from Team & licences.
There is no worker, cron or scheduler. Treatment tasks due or overdue, unsigned-record tasks and vaccine reminder status are refreshed when staff press Refresh due and overdue (refreshClinicalClocks).