This guide covers deployment of the core delivery only:
- Frontend:
apps/web-astro(user site) andapps/admin(admin console) - Backend:
node1-authtonode11-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
- 00. Meet the Dev Console
- 01. Before You Start
- 02. Deploy to Cloudflare — one click deploys everything
- 03. Deploy Backend Workers — details of the Workers stage
- 04. Deploy Frontend Apps — details of the frontend stage
- 05. Bind Domains and Environment Variables
- 06. Initialize Your System
- 07. Launch Checks and Common Errors
CLI track
- CLI: Before You Start
- CLI: Local Development
- CLI: Prepare Cloudflare Resources
- CLI: Deploy Backend Workers
- CLI: Deploy Frontend Apps
- 05. Bind Domains and Environment Variables
- 06. Initialize Your System
- 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-servicebackend/node2-support-servicebackend/node3-pay-servicebackend/node4-notify-servicebackend/node5-blog-servicebackend/node6-cdn-servicebackend/node7-site-servicebackend/node8-prompt-servicebackend/node9-checkin-servicebackend/node10-ai-servicebackend/node11-email-serviceapps/web-astroapps/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 |

