Init multiplayer
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 28s
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 28s
This commit is contained in:
25
deploy/SETUP.md
Normal file
25
deploy/SETUP.md
Normal 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`
|
||||
Reference in New Issue
Block a user