Operations

Deploy

Migrations, secrets and going live.

Deploy from your machine

Important

The wrangler login sees several Cloudflare accounts. Set CLOUDFLARE_ACCOUNT_ID to the APPNEURAL account in your shell first, or Wrangler stops to ask.

Terminal
npm install
npm run db:migrate:remote
npm run deploy

Set the secrets once (they stay across deploys):

Terminal
npx wrangler secret put EDIT_PASSCODE

Database migrations

Applied in order from migrations/:

# Migration
0001 create catalog items
0002 seed catalog items
0006 add item infrastructure
0007 add item priority
0008 add edit auth
0009 add salogent intellistra fluenix
0010 add platform website urls
0011 add appneural platforms
0012 fix salogent website
0013 add checklist and documents
0014 add document uploads
0015 add checklist due date
0016 add project planning fields
0017 add document notes
0018 allow note document kind
0019 add assignee and subtasks
0020 add on hold dependency attachments comments
0021 upgrade task attachments to documents

Check that it is live

Terminal
curl https://platforms.appneurox.com/health

It answers {"status":"ok"} when the Worker and its database are up.

Last updated 2 November 2026