Pular para o conteúdo principal

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:

VariableDescription
API_BASE_URLYour production API URL
ORIGIN_DOMAINYour brand's production domain
BRAND_LANGUAGEDefault language
BRAND_COUNTRYCountry ISO code
BRAND_CURRENCYCurrency code
BRAND_TIMEZONETimezone

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.