Docs: Sprint A UX (match-all, slim payloads, deploy-viewer).
CI / skip-ci-check (pull_request) Successful in 29s
CI / docker-ci (pull_request) Successful in 32s
CI / python-lint (pull_request) Successful in 32s
CI / secret-scan (pull_request) Successful in 37s
CI / viewer-unit (pull_request) Successful in 1m38s
CI / admin-unit (pull_request) Successful in 1m51s
CI / e2e (pull_request) Failing after 2m3s

This commit is contained in:
2026-08-04 21:48:43 -04:00
parent 15633a1d37
commit 6917cc8407
3 changed files with 26 additions and 1 deletions
+16
View File
@@ -41,6 +41,22 @@ Project-specific scripts remain in the repository root:
- `stop_backend.sh` - Stop backend server
- `run_worker.sh` - Run RQ worker
- `demo.sh` - Demo helper script
- `deploy-viewer.sh` - Build viewer (`next build`) and recreate PM2 `punimtag-viewer` with `next start` (use after viewer deploys; `pm2 restart` alone does not pick up script-arg changes)
### Viewer deploy (DEV / prod-like)
```bash
cd /opt/punimtag
git pull
bash scripts/deploy-viewer.sh --skip-install # when node_modules already current
```
Admin static build (served by Caddy or `pm2 serve`):
```bash
cd /opt/punimtag/admin-frontend && npm run build
# restart API if backend changed: pm2 restart punimtag-api
```
## Database Shell Scripts