Deployment
Deploy Openfront Senior Care 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 migrations first.
Processes
| Process | Command | Purpose |
|---|---|---|
| Web | npm run migrate && next start | Applies migrations, then serves the dashboard, the community website, the family portal and the API. |
Checklist
- Provision PostgreSQL and set
DATABASE_URL. - Set
SESSION_SECRET, and set the derived secrets explicitly in production. - Set
TRUSTED_PROXY_HOPS=1behind Railway. - Set the Stripe keys if you take cards, and point a Stripe webhook at
/api/payments/webhook. - Deploy, open
/dashboard/initand create the first user.
There is no worker, timer or cron. Scheduled work runs under named leases on the request that touches it (every dashboard read, every domain command and the public storefront read) and with the staff Refresh button (features/keystone/lib/maintenance.ts). Running it twice, or on several replicas at once, is safe.