Deployment
How every component of Thamizhi is deployed.
Deployment Map
Section titled “Deployment Map”┌──────────────────────────────────────────────────────────────┐│ DEPLOYMENT MAP │├──────────────────────────────────────────────────────────────┤│ ││ GitHub Actions ── scraping cron jobs ││ │ ││ ▼ ││ Cloudflare Workers ── API backend (TypeScript) ││ ││ Cloudflare Pages ── Documentation + Web App (static) ││ ││ Groq ── AI Inference ││ ││ Cloudflare R2 ── Image/File Storage ││ │└──────────────────────────────────────────────────────────────┘Deployment Steps
Section titled “Deployment Steps”1. Cloudflare Workers API
Section titled “1. Cloudflare Workers API”# Deploy API backendnpm create cloudflare@latest thamizhi-api# Write Wrangler config# Deploy: npx wrangler deploy3. Cloudflare Pages (Docs)
Section titled “3. Cloudflare Pages (Docs)”# Build docs sitenpm run build# Deploy via Wrangler or GitHub integrationnpx wrangler pages deploy dist/3. GitHub Actions (Scraping)
Section titled “3. GitHub Actions (Scraping)”# Add secrets to GitHub repo:# GROQ_API_KEY# Push .github/workflows/scrape.yml