summaryrefslogtreecommitdiffstats
path: root/docs/TESTING.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-08 11:53:04 +0100
committersalmonik <salmonik@tuta.io>2026-11-08 11:53:04 +0100
commit0bace1ce8826a9a1be4003681fab5138f174c275 (patch)
treebd191ef204486c950e8407718cb2ddb1dad64e44 /docs/TESTING.md
parentweb: link the GPL source from the play page; normalise gateway config (diff)
downloadzagan-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/TESTING.md')
-rw-r--r--docs/TESTING.md2
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
2990. `./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.
2991. Open `/play/` in a fresh browser. The auth card must appear; the top bar 3011. 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.
3012. Register, then log in with the password. The lobby must show 1 000 Kr and 3032. Register, then log in with the password. The lobby must show 1 000 Kr and