Documentation
Deploy
Ship dashboard (Pages) and API (Worker) so docs and product stay aligned.
Dashboard (Cloudflare Pages)
npm run build:web
npm run deploy:web
# project: chatalyze โ chatalyze.coOptional build env:PUBLIC_API_URL=https://api.chatalyze.co
API Worker
npx wrangler deploy
npx wrangler d1 migrations apply chatalyze --remote
# secrets as needed:
# wrangler secret put ADMIN_TOKEN
# wrangler secret put ONLYFANSAPI_WEBHOOK_SECRET
# wrangler secret put ONLYFANSAPI_KEY
# wrangler secret put MODEL_API_BASE | MODEL_API_KEY | MODEL_NAMEDocs deploy with the siteThe wiki is part of
apps/web. If you change product behavior without deploy:web, public docs lag. If you change API routes without Worker deploy, the live route probe onAPI overview will show the old catalog.