Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1be5cbef31 | ||
|
|
1c8cd63cd0 | ||
|
|
af6322d079 | ||
|
|
168f717398 |
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "proddash",
|
"name": "proddash",
|
||||||
"version": "1.4.0",
|
"version": "1.5.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Modular production dashboard for Waters Church — zero-dependency Node server + vanilla client",
|
"description": "Modular production dashboard for Waters Church \u2014 zero-dependency Node server + vanilla client",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
|
|||||||
@@ -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