docs: require live site verification

This commit is contained in:
2026-07-03 15:02:35 +02:00
parent 93fee15e32
commit cc5aa88703
2 changed files with 11 additions and 1 deletions

View File

@@ -107,6 +107,10 @@ Local ports:
- Use `npm run test:integration` only when backend/API behavior is touched and - Use `npm run test:integration` only when backend/API behavior is touched and
PM2/MariaDB are available. PM2/MariaDB are available.
- `npm run build` runs unit tests before `react-scripts build`. - `npm run build` runs unit tests before `react-scripts build`.
- After any change that affects the production site or a PM2-served workflow,
also verify the live site at `https://dwroller.alw.dk` in a browser after
`npm run build:fast` or the equivalent deployment step. Treat local tests and
builds as incomplete until the live flow has been checked.
- If tests fail because MariaDB, PM2, Ollama, or local services are unavailable, - If tests fail because MariaDB, PM2, Ollama, or local services are unavailable,
report that explicitly rather than masking the failure. report that explicitly rather than masking the failure.

View File

@@ -209,7 +209,13 @@ pm2 list
pm2 logs deathwatch-server pm2 logs deathwatch-server
``` ```
### 4. Verify Deployment ### 4. Verify The Live Site
After a production build and PM2 reload, open `https://dwroller.alw.dk` and
check the exact flow you changed on the deployed site. A successful local build
or PM2 reload is not enough by itself; live-site verification is required for
changes that affect production behavior.
### 5. Verify Deployment
```bash ```bash
# Test frontend accessibility # Test frontend accessibility
curl http://localhost:3000 curl http://localhost:3000