docs: require live site verification
This commit is contained in:
@@ -107,6 +107,10 @@ Local ports:
|
||||
- Use `npm run test:integration` only when backend/API behavior is touched and
|
||||
PM2/MariaDB are available.
|
||||
- `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,
|
||||
report that explicitly rather than masking the failure.
|
||||
|
||||
|
||||
@@ -209,7 +209,13 @@ pm2 list
|
||||
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
|
||||
# Test frontend accessibility
|
||||
curl http://localhost:3000
|
||||
|
||||
Reference in New Issue
Block a user