summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-01 17:49:37 +0100
committersalmonik <salmonik@tuta.io>2026-11-01 17:49:37 +0100
commit0068542265f78a13b155bad985c32b46e405ce18 (patch)
tree52f7c80d32117fd29c9e4d1a568c01fcb4c01310
parentv4.0.0: require HELLO MAJOR.MINOR lockstep before auth (diff)
downloadzagan-bet-0068542265f78a13b155bad985c32b46e405ce18.tar.gz
zagan-bet-0068542265f78a13b155bad985c32b46e405ce18.zip
docs: document DOWNLOAD_URL and the XDG reset path
-rw-r--r--docs/SERVER_SETUP.md7
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
80The server creates `server.db` in the current directory on first use. It holds 80The server creates `server.db` in the current directory on first use. It holds
81users, balances, and the per-game `plays` audit. The client keeps its own 81users, balances, and the per-game `plays` audit. Set `DOWNLOAD_URL` if the
82public download page is not the default; clients show it in the "newer version
83available" 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
88trust: 90trust:
89 91
90```sh 92```sh
91rm -f server.db client.db 93rm -f server.db
94rm -rf ~/.local/share/zagan-bet
92``` 95```
93 96
94The `plays` schema is not auto-migrated from the old slots-only shape; a stale 97The `plays` schema is not auto-migrated from the old slots-only shape; a stale