From 0068542265f78a13b155bad985c32b46e405ce18 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 17:49:37 +0100 Subject: docs: document DOWNLOAD_URL and the XDG reset path --- docs/SERVER_SETUP.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/SERVER_SETUP.md') 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. ## Database The server creates `server.db` in the current directory on first use. It holds -users, balances, and the per-game `plays` audit. The client keeps its own +users, balances, and the per-game `plays` audit. Set `DOWNLOAD_URL` if the +public download page is not the default; clients show it in the "newer version +available" notice. The client keeps its own `client.db` for host fingerprints and stored credentials in `$XDG_DATA_HOME/zagan-bet/` (usually `~/.local/share/zagan-bet/`); pass `-d ` to keep it somewhere else. There are no schema @@ -88,7 +90,8 @@ During development, delete both files to reset users, balances, history, and trust: ```sh -rm -f server.db client.db +rm -f server.db +rm -rf ~/.local/share/zagan-bet ``` The `plays` schema is not auto-migrated from the old slots-only shape; a stale -- cgit v1.2.3