✅ Add pre-deployment and post-deployment checklists to deployment documentation
This commit is contained in:
@@ -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 API: http://home.gregrjacobs.com:3000
|
||||||
- Backend Health: http://home.gregrjacobs.com:3000/health
|
- 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
|
## Manual Deployment
|
||||||
|
|
||||||
If automated deploy fails, you can deploy manually:
|
If automated deploy fails, you can deploy manually:
|
||||||
|
|||||||
Reference in New Issue
Block a user