diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 17:49:37 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 17:49:37 +0100 |
| commit | 0068542265f78a13b155bad985c32b46e405ce18 (patch) | |
| tree | 52f7c80d32117fd29c9e4d1a568c01fcb4c01310 | |
| parent | v4.0.0: require HELLO MAJOR.MINOR lockstep before auth (diff) | |
| download | zagan-bet-0068542265f78a13b155bad985c32b46e405ce18.tar.gz zagan-bet-0068542265f78a13b155bad985c32b46e405ce18.zip | |
docs: document DOWNLOAD_URL and the XDG reset path
| -rw-r--r-- | docs/SERVER_SETUP.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/SERVER_SETUP.md b/docs/SERVER_SETUP.md index 700a12e..10cb8c1 100644 --- a/docs/SERVER_SETUP.md +++ b/docs/SERVER_SETUP.md | |||
| @@ -78,7 +78,9 @@ last address for that key is forgotten. | |||
| 78 | ## Database | 78 | ## Database |
| 79 | 79 | ||
| 80 | The server creates `server.db` in the current directory on first use. It holds | 80 | The server creates `server.db` in the current directory on first use. It holds |
| 81 | users, balances, and the per-game `plays` audit. The client keeps its own | 81 | users, balances, and the per-game `plays` audit. Set `DOWNLOAD_URL` if the |
| 82 | public download page is not the default; clients show it in the "newer version | ||
| 83 | available" notice. The client keeps its own | ||
| 82 | `client.db` for host fingerprints and stored credentials in | 84 | `client.db` for host fingerprints and stored credentials in |
| 83 | `$XDG_DATA_HOME/zagan-bet/` (usually `~/.local/share/zagan-bet/`); pass | 85 | `$XDG_DATA_HOME/zagan-bet/` (usually `~/.local/share/zagan-bet/`); pass |
| 84 | `-d <dir>` to keep it somewhere else. There are no schema | 86 | `-d <dir>` to keep it somewhere else. There are no schema |
| @@ -88,7 +90,8 @@ During development, delete both files to reset users, balances, history, and | |||
| 88 | trust: | 90 | trust: |
| 89 | 91 | ||
| 90 | ```sh | 92 | ```sh |
| 91 | rm -f server.db client.db | 93 | rm -f server.db |
| 94 | rm -rf ~/.local/share/zagan-bet | ||
| 92 | ``` | 95 | ``` |
| 93 | 96 | ||
| 94 | The `plays` schema is not auto-migrated from the old slots-only shape; a stale | 97 | The `plays` schema is not auto-migrated from the old slots-only shape; a stale |
