Deployment Guide

Deploy ZShip core — apps/web-astro, apps/admin, and 11 backend Workers — with the Dev Console (recommended) or the CLI.

Deployment Updated Nov 24, 2026

This guide covers deployment of the core delivery only:

  • Frontend: apps/web-astro (user site) and apps/admin (admin console)
  • Backend: node1-auth to node11-email (11 Workers)

Value-added services such as the AI Provider Service are not included. See Value-Added Services.

Choose your track

ZShip offers two ways to set up locally and deploy to Cloudflare. Pick one and read only that track, in order. The docs sidebar shows the steps of the track you pick.

Dev Console (recommended) CLI
How you work Run pnpm dev:console once, then use the browser UI for checks, migrations, local services, and one-click deployment Run pnpm install, wrangler d1 create, wrangler deploy, and similar commands yourself
Best for First deployments and anyone who wants fewer commands and fewer missed steps CI and scripted deployments, base/minimal setups without the Dev Console, or full manual control
Start here 00. Meet the Dev Console CLI: Before You Start

Both tracks end with the same three chapters: domains and environment variables, first-time initialization, and launch checks.

Dev Console track

  1. 00. Meet the Dev Console
  2. 01. Before You Start
  3. 02. Deploy to Cloudflare — one click deploys everything
  4. 03. Deploy Backend Workers — details of the Workers stage
  5. 04. Deploy Frontend Apps — details of the frontend stage
  6. 05. Bind Domains and Environment Variables
  7. 06. Initialize Your System
  8. 07. Launch Checks and Common Errors

CLI track

  1. CLI: Before You Start
  2. CLI: Local Development
  3. CLI: Prepare Cloudflare Resources
  4. CLI: Deploy Backend Workers
  5. CLI: Deploy Frontend Apps
  6. 05. Bind Domains and Environment Variables
  7. 06. Initialize Your System
  8. 07. Launch Checks and Common Errors

Getting the source code

We recommend forking the official template on GitHub rather than copying it into a new repository: a fork keeps a path open for syncing future template updates. A fork does not update itself — you still sync upstream manually. The comparison is in 01. Before You Start §3.

What gets deployed

  • backend/node1-auth-service
  • backend/node2-support-service
  • backend/node3-pay-service
  • backend/node4-notify-service
  • backend/node5-blog-service
  • backend/node6-cdn-service
  • backend/node7-site-service
  • backend/node8-prompt-service
  • backend/node9-checkin-service
  • backend/node10-ai-service
  • backend/node11-email-service
  • apps/web-astro
  • apps/admin

Troubleshooting and ops index

Topic Doc
Launch checklist, Observability, CDN/R2, email and webhooks, common errors Launch Checks and Common Errors
Dev Console vs Cloudflare Dashboard Meet the Dev Console
Secrets and repository safety Important Notes

Was this page helpful?

Still stuck? See Troubleshooting or open a ticket