Skip to main content

Deploy command

OpenNext build → minify worker → Wrangler deploy. Production reference host: streamly.watch.

Key files

Buyer personalization (required)

Shipped config targets Streamly’s account. Before your deploy:
  1. Create KV namespace for binding NEXT_INC_CACHE_KV and replace id / preview_id.
  2. Change routes / zone to your domain.
  3. Set public URL vars for your host; set ENABLE_DEMO to false in production.
  4. Put secrets with wrangler secret put (Supabase service role, encryption, cron, Envato, Resend, …).
Full steps: Deploy Cloudflare.

Bindings (typical)

  • Images binding
  • KV incremental cache (NEXT_INC_CACHE_KV) while R2 is optional/disabled
  • Queues: streamly-jobs (+ dead letter)
  • Hourly cron → internal jobs
  • Durable Object queue support as configured

Constraints