Demo data from the Hub: crosscode demo, the seed-demo job, set-demo fixes
- scripts: `crosscode demo <church> --profile … [--admin-email …]`: backup, set-demo.js as the site's user, reload, wait for /health. - Contracts 1.7.0: the seed-demo job, DEMO_PROFILES, SEED_DEMO_MIN_AGENT. - Agent 1.2.0: seed-demo → crosscode demo. - Events 2.4.1: set-demo.js stops with a clear message when it can't read .env (was "client password must be a string", then a hang); keeps the oldest admin when the default one isn't on the site; --admin-email=. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,22 @@
|
||||
|
||||
Each package and app has its own section and its own tags (`contracts@1.0.0`, `accounts@1.0.0`, …).
|
||||
|
||||
## events@2.4.1, contracts@1.7.0, agent@1.2.0, crosscode script - 2026-11-19
|
||||
|
||||
Demo data from the Hub, for installs marked as demo sites (Hub 2.4.0).
|
||||
|
||||
- **Scripts: `crosscode demo <church> --profile <small|events|ministry|multicampus>
|
||||
[--admin-email <email>]`.** Takes a backup, loads the demo set as the site's user (who alone
|
||||
can read its `.env`), then reloads Events and waits for `/health`. Stops before the data if the
|
||||
backup fails, and doesn't reload after a failed seed.
|
||||
- **Contracts 1.7.0:** the `seed-demo` job (`church`, `profile`, optional `adminEmail`; 15
|
||||
minutes), `DEMO_PROFILES`, `SEED_DEMO_MIN_AGENT`.
|
||||
- **Agent 1.2.0:** runs `seed-demo` jobs as `crosscode demo`. Older agents refuse them, so the
|
||||
Hub checks the agent's version first.
|
||||
- **Events 2.4.1:** `set-demo.js` says to run as the site's user instead of failing with "client
|
||||
password must be a string" and hanging; keeps the site's oldest admin when the default isn't
|
||||
there. Details in `apps/events/CHANGELOG.md`.
|
||||
|
||||
## accounts@1.0.1, contracts@1.6.0, crosscode script - 2026-11-19
|
||||
|
||||
A server configuration with `TRUST_PROXY=TRUE` made an Events install build for minutes, then
|
||||
|
||||
Reference in New Issue
Block a user