Steps 4-6: the jobs, the set-up tab with generated scripts, Install the staged folder, site bundles and the campus template
- Overview jobs: Change the playlist, Add or remove a HyperDeck, Add a MIDI link, Add a computer, Make a PC program startable; 'Add a key for it' on unwatched Companion connections. - Computers > Setup: steps with a [how] each and the set-up scripts generated per computer by settings/scripts.py from the templates in remote-access/ (no site-shaped value left in them); Remove this computer drops the fixes and checks that used it. - Site setup > Site: the running and staged code, Install the staged folder (a one-shot launchd job running install.sh --keep-config, refused while live), Export site bundle (zip), New campus from a bundle (this campus's site block stays; every copied computer is flagged until touched). - sites/: na -> the repo config, _template = the empty campus; install.sh --site <id>. - Review reads appended checks as 'added'; tests for all of it. - Deployed page-only to NA Ingest. (config.json, status_panel.py and readiness.py are left to the READY-page work in progress in the same tree.) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Sites
|
||||
|
||||
One folder per campus. `na/config.json` is North Attleboro (a link to the repo's `config.json`, which install.sh
|
||||
installs by default). `_template/config.json` is the empty campus: the three fixed keys, this Mac's record and
|
||||
nothing else; `install.sh --site <id>` installs `sites/<id>/config.json` when the folder exists, otherwise the
|
||||
template. The settings page's **Export site bundle** (Site setup > Site) gives you a zip to drop in as `sites/<id>/`;
|
||||
its **New campus from a bundle** starts a campus from another campus's bundle.
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"site": {
|
||||
"id": "new",
|
||||
"name": "New campus",
|
||||
"ingest_name": "Ingest Mac",
|
||||
"ingest_hostname": "",
|
||||
"ingest_ips": [],
|
||||
"contacts": "",
|
||||
"live_services": [],
|
||||
"editing_code": "change me before the first Apply"
|
||||
},
|
||||
"companion": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 8000
|
||||
},
|
||||
"page": 19,
|
||||
"page_name": "19\\nStatus",
|
||||
"page_hold_ms": 2000,
|
||||
"variables": {
|
||||
"state": "sp_state",
|
||||
"heartbeat": "sp_hb",
|
||||
"command": "sp_cmd"
|
||||
},
|
||||
"timing": {
|
||||
"fix_cooldown_seconds": 60,
|
||||
"alert_after_seconds": 30
|
||||
},
|
||||
"auto_fix": {
|
||||
"windows": [],
|
||||
"fixes": []
|
||||
},
|
||||
"tiles": [
|
||||
{
|
||||
"id": "all",
|
||||
"label": "ALL",
|
||||
"pos": [
|
||||
0,
|
||||
1
|
||||
],
|
||||
"kind": "master"
|
||||
},
|
||||
{
|
||||
"id": "service",
|
||||
"label": "ALARMS",
|
||||
"pos": [
|
||||
3,
|
||||
0
|
||||
],
|
||||
"kind": "service"
|
||||
},
|
||||
{
|
||||
"id": "net",
|
||||
"label": "NET",
|
||||
"pos": [
|
||||
3,
|
||||
4
|
||||
],
|
||||
"kind": "network"
|
||||
}
|
||||
],
|
||||
"fixes": {},
|
||||
"hosts": {
|
||||
"ingest": {
|
||||
"self": true,
|
||||
"name": "Ingest Mac",
|
||||
"role": "the watchdog, Companion, the settings page",
|
||||
"os": "mac",
|
||||
"networks": [],
|
||||
"runs": [
|
||||
{
|
||||
"kind": "launchagent",
|
||||
"label": "org.waterschurch.status-panel",
|
||||
"name": "the watchdog"
|
||||
},
|
||||
{
|
||||
"kind": "launchagent",
|
||||
"label": "org.waterschurch.status-settings",
|
||||
"name": "the settings page"
|
||||
},
|
||||
{
|
||||
"kind": "app",
|
||||
"process": "Companion",
|
||||
"name": "Companion",
|
||||
"http": "http://127.0.0.1:8000/api/connections"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"gear": {},
|
||||
"debounce_seconds": 3,
|
||||
"network": {
|
||||
"interface": "en0",
|
||||
"gateway": "10.1.0.1",
|
||||
"burst_connections": 4,
|
||||
"burst_groups": 3,
|
||||
"burst_window_seconds": 10,
|
||||
"remember_seconds": 300
|
||||
}
|
||||
}
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../config.json
|
||||
Reference in New Issue
Block a user