diff --git a/code/websites/pokedex.online/DEPLOYMENT.md b/code/websites/pokedex.online/DEPLOYMENT.md index 393bb89..f7fecd2 100644 --- a/code/websites/pokedex.online/DEPLOYMENT.md +++ b/code/websites/pokedex.online/DEPLOYMENT.md @@ -282,6 +282,30 @@ ssh GregRJacobs@10.0.0.81 -p 2323 "cd /volume1/docker/pokedex.online && docker c - Backend API: http://home.gregrjacobs.com:3000 - Backend Health: http://home.gregrjacobs.com:3000/health +## Pre-Deployment Checklist + +Before running `./deploy.sh`, ensure: + +- [ ] All tests passing (`npm run test:all`) +- [ ] Code committed to git +- [ ] Environment variables configured in `server/.env` +- [ ] Build completes successfully (`npm run build`) +- [ ] No uncommitted breaking changes +- [ ] Deployment target accessible (ping host) +- [ ] Previous deployment backed up (script does this automatically) + +## Post-Deployment Checklist + +After deployment, verify: + +- [ ] Frontend loads: http://10.0.0.81:8080 +- [ ] Backend health check: http://10.0.0.81:3000/health +- [ ] OAuth flow works (login with Challonge) +- [ ] Gamemaster API accessible +- [ ] Browser console shows no errors +- [ ] Check Docker logs: `ssh ... && docker compose logs --tail=50` +- [ ] Monitor backend logs in `server/logs/` + ## Manual Deployment If automated deploy fails, you can deploy manually: