Start Here
This is the single entry point for bringing Command online without accidentally launching Iridesceux or HVN.
The three Command modes
| What you opened | Mode | Meaning |
|---|---|---|
Double-clicked command-app/public/index.html | Offline demo | Browser-only fake data. Safe training copy. |
http://localhost:8788 from Wrangler | Real local backend | Pages Functions run locally. v20.4 no longer forces localhost into demo. |
| Protected Cloudflare URL | Real deployed backend | D1/R2/Access are used. This is the staging/production Command environment. |
Do this in this exact order
Read the architecture map
Open Architecture & Folder Map. Do not upload the whole ZIP to one Pages project.
Build Command first
Follow First-Time Cloudflare Setup. Create the Command Pages project, D1, Access and bootstrap admin. The public sites can stay offline.
Run Setup Doctor
On the deployed Command URL open /setup-doctor.html. It tells you whether Functions, D1 and identity are actually connected.
Add R2 before testing uploads
Use D1, R2 & Secrets. Upload buttons require COMMAND_ASSETS.
Connect Iridesceux and HVN later
Deploy them as private staging/preview sites when you are ready to test multisite changes. Connecting them does not require public launch.
Connect OBS last
Only after Command itself is healthy, follow the broadcast-agent guide.
Before public HVNid launch
After HVN staging is connected, follow HVN Viewer Accountsv20.4 Release Audit. The public viewer login system is separate from Command employee accounts and requires the HVN Pages project to have COMMAND_DB plus reset-email configuration before you advertise “forgot password.”