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 —