02. Deploy to Cloudflare

One-click deployment: the Dev Console creates D1/KV/R2, runs migrations, and deploys the core Workers and frontend apps.

Deployment Updated Nov 24, 2026

Before you start, finish 01. Before You Start: dependencies installed, Wrangler logged in, and the Dev Console running.

Open the Deploy page

  1. Run pnpm dev:console from the repository root if it is not running yet.
  2. In the left menu, open Shipping → Deploy.
  3. You will see the pipeline as a board: Provision (resources and migrations), Backend Workers, Frontend Apps, and Environment variables, with a console panel on the right.

Dev Console — Deploy board with the pipeline and console output

Fill in secrets

Production secrets are not shipped in vars. Open the Environment variables cards on the Deploy board and fill the auth secrets first — for example JWT_SECRET and ADMIN_SECRET for node1-auth. The console pushes them to Cloudflare with wrangler secret put.

ADMIN_SECRET is the key you will use to sign in to the admin panel, so keep it somewhere safe. Local development keeps reading the placeholders from each service's .dev.vars (see .dev.vars.example).

Click Run All Steps

Click Run All Steps at the top of the console panel. The pipeline runs in order:

  1. Install dependencies (pnpm install)
  2. Create the D1 databases, KV namespace, and R2 bucket
  3. Run the remote D1 migrations
  4. Deploy the 11 core Workers
  5. Deploy the core frontend apps (apps/web-astro and apps/admin)

Each card turns Done when its step succeeds, and the console panel shows the build and deploy log. You do not need to create resources or run separate commands for the core delivery path. Optional apps and value-added Workers keep their own cards, so you can deploy them one at a time.

Next steps

Once the run finishes, continue with 05. Bind Domains and Environment Variables, then 06. Initialize Your System.

Want to understand what each stage did, or redeploy a single Worker or app? 03. Deploy Backend Workers and 04. Deploy Frontend Apps cover the details.

Was this page helpful?

Still stuck? See Troubleshooting or open a ticket