Deployment Checklist
DigitalOcean, GitHub, and live-gate readiness checklist for safe paper-first operations.
Runtime Readiness
Waiting for readiness payload.
Database connection is required for orders, audit logs, and risk settings.
Redis is required for BullMQ order execution.
Worker heartbeat is mandatory only when live trading is enabled.
Live Readiness Audit
Loading live readiness audit.
Waiting for audit payload.
Live Readiness Gates
Default-safe mode: live trading is disabled.
Dashboard-only live gates loaded from /risk.
Admin password, session, CSRF, and encryption secrets must not use defaults.
Exposed credentials must be revoked/rotated after the latest exposure cutoff.
Retired IG credential-set fingerprints are recorded after known exposure, forbidden fingerprints are clear, and the current credentials do not match them.
IG_ALLOWED_LIVE_ACCOUNT_ID must pin live trading to one expected account.
Revision: missing.
Active or unknown IG live local orders must be completed or reconciled first.
Unlock is intentionally short-lived and scoped to the live account, risk-settings revision, and credential scope.
The first live IG order requires a second confirmation phrase for the same account, risk revision, and credential scope.
This should remain locked until every live prerequisite is intentionally satisfied.
Manual Deployment Tasks
Enable repository secret scanning and push protection before publishing.
Use local env or DigitalOcean managed secrets only; never commit broker credentials.
Run pnpm deploy:preflight, then APP_URL=https://... API_URL=https://.../api pnpm prod:smoke. Rerun with PRODUCTION_SMOKE_REQUIRE_AUTH=true and rotated admin credentials before changing live gates.
Enable Managed PostgreSQL backups and test restore before live trading.
Know how to revoke IG, Trading 212, and app secrets before enabling live gates.
This page is a readiness dashboard, not live order approval. Live orders still require deterministic risk checks, fresh dashboard unlock, first-order confirmation, manual per-order approval, and worker-side broker validation.