Init multiplayer
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 28s

This commit is contained in:
Johnny322
2026-02-24 20:54:14 +01:00
parent 6dde7eedb6
commit 9945f8163e
14 changed files with 2027 additions and 53 deletions

25
deploy/SETUP.md Normal file
View File

@@ -0,0 +1,25 @@
# Production Setup
## 1) Install systemd service
```bash
sudo cp /repos/music-jeopardy/deploy/systemd/music-jeopardy-realtime.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now music-jeopardy-realtime.service
sudo systemctl status music-jeopardy-realtime.service
```
## 2) Install nginx config
```bash
sudo cp /repos/music-jeopardy/deploy/nginx/jeopardy.toppit.net.conf /etc/nginx/sites-available/jeopardy.toppit.net
sudo ln -sf /etc/nginx/sites-available/jeopardy.toppit.net /etc/nginx/sites-enabled/jeopardy.toppit.net
sudo nginx -t
sudo systemctl reload nginx
```
## 3) Verify
1. Open `https://jeopardy.toppit.net`
2. Create a session in the app (`Game ID`)
3. Open a second browser/device and join by same `Game ID`