# 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`
Madacup — Sports Competition Platform
Madacup client: sports competition platform with website deployed on dedicated VPS.