The church's own Gitea is where ProdDash lives #2
@@ -145,10 +145,11 @@ set on a tile itself (a PCO Plan header colour, say) is deliberately kept.
|
|||||||
|
|
||||||
## Installing modules and updating
|
## Installing modules and updating
|
||||||
|
|
||||||
Everything below happens in the **admin page**; ProdDash talks to its GitHub
|
Everything below happens in the **admin page**; ProdDash talks to its git
|
||||||
repository (`michaelmcgary2008/ProdDash`, branch `main` — change with
|
repository — `michael/ProdDash` on the church's own Gitea at
|
||||||
`repo` / `branch` in `proddash.json` or the `PRODDASH_REPO` variable,
|
`chronicles-ab.waterschurch.org:3000`, branch `main`. Change it with `forge`,
|
||||||
`owner/repo#branch`). It downloads one small archive of the branch, at most
|
`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
|
every few minutes, only while the admin page is open or for the update check
|
||||||
below. Nothing is installed without someone clicking.
|
below. Nothing is installed without someone clicking.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"port": 24500,
|
"port": 24500,
|
||||||
"adminPasscode": "",
|
"adminPasscode": "",
|
||||||
"forge": "github",
|
"forge": "http://chronicles-ab.waterschurch.org:3000",
|
||||||
"repo": "michaelmcgary2008/ProdDash",
|
"repo": "michael/ProdDash",
|
||||||
"branch": "main"
|
"branch": "main"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -766,7 +766,7 @@ function parseRepoSetting(value, fallbackBranch) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const REPO = parseRepoSetting(process.env.PRODDASH_REPO || shellConfig.repo, shellConfig.branch)
|
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 —
|
* Which server the code comes from. GitHub unless `forge` names another —
|
||||||
|
|||||||
Reference in New Issue
Block a user