ai-code-battle/web/pages.json
jedarden d936bc2f62 Complete Phase 5: Add Cloudflare Pages deployment configuration
- Add web/pages.json documenting Pages project settings and data paths
- Add web/public/_headers for cache control on static assets
- Add web/public/robots.txt for SEO
- Add web/public/data/ placeholder structure for index files
  - leaderboard.json
  - bots/index.json
  - matches/index.json
- Update PROGRESS.md marking Phase 5 complete

Phase 5 is now complete. Ready for Phase 6 (Deployment & Production).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 09:31:35 -04:00

30 lines
803 B
JSON

{
"name": "acb-web",
"description": "AI Code Battle - Competitive bot programming platform",
"domains": [
"aicodebattle.com"
],
"build": {
"command": "npm run build",
"output_dir": "dist",
"root_dir": "web"
},
"routes": {
"app": "app.html",
"replay_viewer": "index.html"
},
"data_paths": {
"pages_data": "https://aicodebattle.com/data",
"r2_data": "https://data.aicodebattle.com"
},
"deployment": {
"method": "wrangler pages deploy",
"git_integration": true,
"index_builder_deploys": "data/ directory only"
},
"notes": [
"SPA uses hash-based routing (no _redirects needed)",
"Index files in data/ are deployed by Rackspace index builder every ~90 min",
"Replays and per-match data are served from R2 custom domain"
]
}