diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-08 11:53:04 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-08 11:53:04 +0100 |
| commit | 0bace1ce8826a9a1be4003681fab5138f174c275 (patch) | |
| tree | bd191ef204486c950e8407718cb2ddb1dad64e44 /docs | |
| parent | web: link the GPL source from the play page; normalise gateway config (diff) | |
| download | zagan-bet-0bace1ce8826a9a1be4003681fab5138f174c275.tar.gz zagan-bet-0bace1ce8826a9a1be4003681fab5138f174c275.zip | |
dev: add a no-nginx browser stack script
scripts/dev-web.sh builds the server, gateway and app, creates target/dev-web/identity, and runs the game server, webd and a loopback static server. The app accepts a ?ws= override only on loopback so the page and gateway can sit on different local ports; production stays same-origin at /ws.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/TESTING.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md index 141ea75..0275607 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md | |||
| @@ -296,6 +296,8 @@ terminal client; a saved login from one signs in the other. | |||
| 296 | 296 | ||
| 297 | ## Manual web checklist | 297 | ## Manual web checklist |
| 298 | 298 | ||
| 299 | 0. `./scripts/dev-web.sh` prints a local URL. Use it for the checks below; it | ||
| 300 | starts a throwaway game server, gateway and static app without nginx. | ||
| 299 | 1. Open `/play/` in a fresh browser. The auth card must appear; the top bar | 301 | 1. Open `/play/` in a fresh browser. The auth card must appear; the top bar |
| 300 | must not claim a balance until login. | 302 | must not claim a balance until login. |
| 301 | 2. Register, then log in with the password. The lobby must show 1 000 Kr and | 303 | 2. Register, then log in with the password. The lobby must show 1 000 Kr and |
