From 0bace1ce8826a9a1be4003681fab5138f174c275 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 8 Nov 2026 11:53:04 +0100 Subject: 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. --- docs/TESTING.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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. ## Manual web checklist +0. `./scripts/dev-web.sh` prints a local URL. Use it for the checks below; it + starts a throwaway game server, gateway and static app without nginx. 1. Open `/play/` in a fresh browser. The auth card must appear; the top bar must not claim a balance until login. 2. Register, then log in with the password. The lobby must show 1 000 Kr and -- cgit v1.2.3