Madacup — Sports Competition Platform

Madacup client: sports competition platform with website deployed on dedicated VPS.

# Madacup ## Overview **Madacup** = Sports competition platform client. | Field | Value | |-------|-------| | Server IP | 173.212.232.124 | | SSH Alias | `madacup` | | User | root | | Key | `~/.ssh/id_ed25519` | | Domain | madacup.online (CF zone ID: `062eb8c3...`) | | CF Token | `/root/.secrets/cf-api-token-madacup.txt` | ## Website ### Production - **Domain:** [TO VERIFY — likely www.madacup.online or similar] ### Development/Staging - **Domain:** `dev.madacup.online` - **Nginx config:** Proxy → `http://127.0.0.1:8090` - **Static assets:** `/root/workspace/madacup-website-local/assets/` - **Cache:** Dynamic = no-store; Assets = 1h immutable ### Repo | Field | Value | |-------|-------| | Repo | `madacup-2026/madacup-website.git` | | Path | `/root/workspace/madacup-website/` | | Branch | `main` | | Last Commit | `8b89620` — prod: landing (coming soon) \| dev: full site + Agentation on dev.madacup.online | ## Site Structure ``` madacup-website/ ├── Dockerfile ├── OPENPANEL_TRACKING.md ├── Retours/ # Feedback dir ├── app/ # Next.js app ├── components/ ├── lib/ ├── next.config.js ├── public/ ├── scripts/ ├── index.html # Landing page ├── landing.html # Landing variant └── full-site.html # Full site (dev) ``` - Built with **Next.js** (has next.config.js, app/ directory) - Has OpenPanel analytics integration - Dev server runs on port 8090 (proxied by nginx as dev.madacup.online) - Prod is "coming soon" landing page ## Cloudflare - Dedicated zone token at `/root/.secrets/cf-api-token-madacup.txt` - Zone: `madacup.online`