# 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`