Deploy bahalaka.com — Cloudflare Pages
Intent
Ship the bahalaka.com product proposal website live at bahalaka.com so friends and collaborators can view it and leave comments.
Scope
What's Deploying
- Artifact:
site/index.html — single-file static site, 43KB, vanilla HTML/CSS/JS
- Platform: Cloudflare Pages (direct upload, no Git integration)
- Domain: bahalaka.com (custom domain via Cloudflare DNS)
- Auth: None — public proposal site, no auth gate
Approach
Phase 1 — Project Setup
- Create
deploy.json at project root with Cloudflare Pages config
- Create Cloudflare Pages project "bahalaka" via wrangler
Phase 2 — Deploy
- Deploy
site/ directory to Cloudflare Pages via wrangler pages deploy site/ --project-name bahalaka
- Verify deployment at
bahalaka.pages.dev
Phase 3 — Custom Domain
- Add bahalaka.com zone to Cloudflare (if not already present)
- Add custom domain to the Pages project
- Configure DNS CNAME record:
bahalaka.com → bahalaka.pages.dev
- Verify live at bahalaka.com with SSL
Phase 4 — Test & Verify
- Smoke test: site loads at bahalaka.com
- Functional test: comment system works (localStorage)
- Visual test: all sections render correctly
- SSL: HTTPS enforced by Cloudflare edge
Constraints
- No auth gate — this is a public proposal site
- No build step — static HTML, direct upload
- Comments are localStorage-backed (demo mode) — no server needed
- DNS token provided:
cfat_XD2sjs... (Cloudflare API token with DNS edit)
- Account ID:
7c605ea04118cd9a0a18028083d1cf6e