Deployment Environment
TODO
Deployment workflow details will be added once front-ops is finalized. Below is the planned architecture.
Architecture
Your site runs on Cloudflare Workers with SSR (Server-Side Rendering):
- Workers — Handle SSR requests and serve the app
- R2 — Stores static assets (JS, CSS, images)
- CDN — Cloudflare's global network delivers content fast
Environment variables
In production, set these variables in the Cloudflare Workers dashboard:
| Variable | Description |
|---|---|
API_BASE_URL | Your production API URL |
ORIGIN_DOMAIN | Your brand's production domain |
BRAND_LANGUAGE | Default language |
BRAND_COUNTRY | Country ISO code |
BRAND_CURRENCY | Currency code |
BRAND_TIMEZONE | Timezone |
Build
pnpm build
This generates the production build in the build/ directory.
Deploy process
The deploy process is managed by the Cactus team via front-ops. Contact the team for deployment requests.