crosscode: the Church App (app.sh, add, demo) and the App's changelog
scripts/products/app.sh and app.env.template.json; app in SUPPORTED_PRODUCTS; crosscode add <church> app (Accounts first); crosscode demo <church> app --profile <s>, and the App's turn, last, in a whole demo scenario. app.bats and demo.bats; app.sh linted. The full bats suite wasn't run (stopped for low memory); app.bats and demo.bats pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -155,6 +155,30 @@ Ships `@crosscode/seo` 1.1.0 (`articleJsonLd`, workspace).
|
||||
`crosscode.church-export/1`: members with their roles, the wall, commitments as rules, "I
|
||||
prayed", campaigns, testimonies, prayer requests with their moderation, the emergency numbers,
|
||||
announcements, the church's own devotionals and events, and the uploads; no internal ids.
|
||||
- **The demo scenarios** (plan §12, `src/demo/`, `scripts/demo.ts`): `npm run demo` loads Acacia
|
||||
Hill; `--profile <scenario>` (with `--scenario`, as the agent sends it) any of the eight demo
|
||||
churches, around `@crosscode/demo`'s people with the same account ids as Accounts, so their
|
||||
sign-ins find them. Each is in its scenario's active-member band (0–100 to 2 001–5 000), with its
|
||||
leads' roles; three months of prayer commitments with the scenario's coverage (a quiet parish wall,
|
||||
30-minute slots in the Karoo, every hour twice at Northpoint, students on the 02:00 slots), a few
|
||||
skips and renewals due, "I prayed" on most of the last three weeks; a campaign (Lent from Ash
|
||||
Wednesday to Easter Eve for St Columba's), testimonies, prayer requests waiting for approval,
|
||||
announcements (per campus at Riverside, in Afrikaans in the Karoo), and Harbour City's setup
|
||||
checklist half done. Devotionals: Cross Code's fetched from the Hub, or the church's own for St
|
||||
Columba's (KJV), Harbour City and Karoo Gemeenskapskerk (Afrikaans, quoting the BSB). Events come
|
||||
from Cross Events (else the Website) through the feed when linked, else the App's own. Demo members
|
||||
of an earlier scenario go; real members and their roles stay; an App whose real members have
|
||||
used it needs `--force`.
|
||||
- The demo devotionals' passages are copied **word for word** from the public-domain KJV and BSB by
|
||||
`scripts/demo-passages.ts` into `src/demo/passages.ts` (no Bible text typed or generated).
|
||||
- **Nothing is sent to a demo person** (an address at `example.com`): the sender marks their
|
||||
messages done without sending (`isDemoPerson`).
|
||||
- **The `crosscode` script** (ships with this release): `scripts/products/app.sh` (the Website's
|
||||
hooks for the App: ports 5400 / 3400, `contracts`, `ui`, `auth-client`, `seo` and `demo`, backups
|
||||
as `app-*.sql.gz`, the export and uploads), `scripts/products/app.env.template.json`, `app` in
|
||||
`SUPPORTED_PRODUCTS`; `crosscode add <church> app` (on `app.<address>`, Accounts first);
|
||||
`crosscode demo <church> app --profile <s>` and the App's turn, last, in a whole scenario
|
||||
(`crosscode demo <church> --scenario <s>`); bats tests (`app.bats`, `demo.bats`).
|
||||
- Home shows today's devotional, the latest announcements (pinned first) and what's on. A sitemap
|
||||
of the public pages (`/sitemap.xml`, never prayer, members-only items or imported events), named
|
||||
in robots.txt. `GET /api/v1/app` gives the App's own address (`url`).
|
||||
|
||||
Reference in New Issue
Block a user