From 1be5cbef316503de1e6f1617b596c2ec1e78a084 Mon Sep 17 00:00:00 2001 From: Waters Church Date: Wed, 16 Sep 2026 19:00:22 -0400 Subject: [PATCH] The church's own Gitea is where ProdDash lives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shipped defaults pointed at GitHub, so a fresh install with no configuration would have looked there — and that repository is going away. They now name michael/ProdDash on chronicles-ab.waterschurch.org:3000, which a fresh install was verified to reach with nothing configured at all. The hostname rather than the IP, because the UniFi DNS record is authoritative and this survives the NAS changing address. Both production machines already carry an explicit setting of their own, so neither is affected either way. Co-Authored-By: Claude Opus 5 --- README.md | 9 +++++---- config/proddash.json | 4 ++-- server.js | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8a61437..0a9dbc3 100644 --- a/README.md +++ b/README.md @@ -145,10 +145,11 @@ set on a tile itself (a PCO Plan header colour, say) is deliberately kept. ## Installing modules and updating -Everything below happens in the **admin page**; ProdDash talks to its GitHub -repository (`michaelmcgary2008/ProdDash`, branch `main` — change with -`repo` / `branch` in `proddash.json` or the `PRODDASH_REPO` variable, -`owner/repo#branch`). It downloads one small archive of the branch, at most +Everything below happens in the **admin page**; ProdDash talks to its git +repository — `michael/ProdDash` on the church's own Gitea at +`chronicles-ab.waterschurch.org:3000`, branch `main`. Change it with `forge`, +`repo` and `branch` in `proddash.json`, or the `PRODDASH_FORGE` and +`PRODDASH_REPO` variables (`owner/repo#branch`). It downloads one small archive of the branch, at most every few minutes, only while the admin page is open or for the update check below. Nothing is installed without someone clicking. diff --git a/config/proddash.json b/config/proddash.json index 4a1d7fe..9424d2c 100644 --- a/config/proddash.json +++ b/config/proddash.json @@ -1,7 +1,7 @@ { "port": 24500, "adminPasscode": "", - "forge": "github", - "repo": "michaelmcgary2008/ProdDash", + "forge": "http://chronicles-ab.waterschurch.org:3000", + "repo": "michael/ProdDash", "branch": "main" } diff --git a/server.js b/server.js index dd91463..5a606e7 100644 --- a/server.js +++ b/server.js @@ -766,7 +766,7 @@ function parseRepoSetting(value, fallbackBranch) { } const REPO = parseRepoSetting(process.env.PRODDASH_REPO || shellConfig.repo, shellConfig.branch) - || parseRepoSetting('michaelmcgary2008/ProdDash', 'main'); + || parseRepoSetting('michael/ProdDash', 'main'); /** * Which server the code comes from. GitHub unless `forge` names another — -- 2.54.0