Skip to content
prod e051e98
Browse

Phase 5 · Staging deploy

The first time the app runs on a real server. Staging is the rehearsal: everything is validated here before production is ever touched — provisioning, DNS, the first release, the web installer, schema parity, a proven rollback, and a monitoring window long enough to catch the slow failures a quick smoke test never sees.

Phase 5 — local app → validated staging

Phase 5 — local app → validated staging 1. Provision host (preflight + .env) → 2. DNS + SSL (subdomain) → 3. First release (dep deploy) → 4. Installer (wizard + harden) → 5. Schedule + schema (cron + migrations) → 6. Rollback + monitor (gate) → 7. Quality tracks (sync · audit · atlas) Provision host preflight + .env DNS + SSL subdomain First release dep deploy Installer wizard + harden Schedule + schema cron + migrations Rollback + monitor gate Quality tracks sync · audit · atlas
Pages 1–6 are the MUST path and carry the phase gate (page 6). Pages 7–9 are SHOULD/optional quality tracks. Staging only — production is a separate gate (Phase 12).

One hard-won lesson gates the very first step:

MUST — pages 1–6 (the gate lives on page 6):

SHOULD / OPTIONAL — pages 7–9 (quality tracks, after the gate):

A staging deploy that survived a proven rollback and 24–48h of monitoring is the evidence base for Phase 6 · SuperAdmin setup and everything after. If you need to revisit how the release pipeline itself is wired, that lives back in Phase 4 · Deploy pipeline.

Configure branding, SMTP, payments, plans, and admin settings on staging first (Phase 6). Then pick how many phases to complete on staging before the production cutover — the choice is a speed-vs-hardening trade-off, not a one-way door:

PathWhen to useFlow
A — Fast launchNeed production ASAPPhases 1–6 on staging → deploy to production → Phases 7–10 on staging → redeploy
B — Hardened launchWant everything right firstPhases 1–10 all on staging → deploy to production → verification
C — IterativePrefer gradual refinementPhases 1–6 → deploy to production → Phases 7–10 on staging, redeploy after each batch

Production deploy is its own gate: Phase 12 · Production. No production access happens in Phase 5.