diff options
| -rw-r--r-- | docs/TESTING.md | 3 | ||||
| -rw-r--r-- | web/README.md | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md index 0275607..0e91524 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md | |||
| @@ -298,7 +298,8 @@ terminal client; a saved login from one signs in the other. | |||
| 298 | 298 | ||
| 299 | 0. `./scripts/dev-web.sh` prints a local URL. Use it for the checks below; it | 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. | 300 | starts a throwaway game server, gateway and static app without nginx. |
| 301 | 1. Open `/play/` in a fresh browser. The auth card must appear; the top bar | 301 | 1. Open `/play/` in a fresh browser. `curl -s https://zagan.2137697.xyz/robots.txt` |
| 302 | must contain `Disallow: /` for `*` and `Infrawatch`. The auth card must appear; the top bar | ||
| 302 | must not claim a balance until login. | 303 | must not claim a balance until login. |
| 303 | 2. Register, then log in with the password. The lobby must show 1 000 Kr and | 304 | 2. Register, then log in with the password. The lobby must show 1 000 Kr and |
| 304 | every game. Refresh the page; the session cookie must reattach and the | 305 | every game. Refresh the page; the session cookie must reattach and the |
diff --git a/web/README.md b/web/README.md index 3e81468..fecb710 100644 --- a/web/README.md +++ b/web/README.md | |||
| @@ -13,6 +13,7 @@ web/ | |||
| 13 | releases.php shared scanner and hash cache | 13 | releases.php shared scanner and hash cache |
| 14 | install.sh stable Linux installer | 14 | install.sh stable Linux installer |
| 15 | install.ps1 stable Windows installer | 15 | install.ps1 stable Windows installer |
| 16 | robots.txt disallows every crawler | ||
| 16 | play/ browser app, served at /play/ | 17 | play/ browser app, served at /play/ |
| 17 | bin/gui/ apps, served at /bin/gui/... | 18 | bin/gui/ apps, served at /bin/gui/... |
| 18 | bin/client/ terminal clients | 19 | bin/client/ terminal clients |
| @@ -151,7 +152,8 @@ Then open <http://127.0.0.1:8899/>. | |||
| 151 | ``` | 152 | ``` |
| 152 | 153 | ||
| 153 | `deploy.sh` rsyncs `web/` with `--delay-updates`, so a visitor never sees a | 154 | `deploy.sh` rsyncs `web/` with `--delay-updates`, so a visitor never sees a |
| 154 | half-written binary, then fetches the live page and every artifact it lists — | 155 | half-written binary, then checks `robots.txt`, fetches the live page and every |
| 156 | artifact it lists — | ||
| 155 | GUI apps, installers, terminal clients and servers — and compares the | 157 | GUI apps, installers, terminal clients and servers — and compares the |
| 156 | downloaded bytes with the local SHA-256. It also fetches `/play/`, `app.js` and | 158 | downloaded bytes with the local SHA-256. It also fetches `/play/`, `app.js` and |
| 157 | `style.css`. `--verify-only` skips the upload and only checks the live site. | 159 | `style.css`. `--verify-only` skips the upload and only checks the live site. |
