From f80243381e438e96653ac87af2c37c64653fc220 Mon Sep 17 00:00:00 2001 From: claude Date: Mon, 24 Aug 2026 13:54:53 -0400 Subject: [PATCH] README: self-contained lead pipeline + decom notes --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e5af4b..79b3cba 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ To change the **seed** for future rebuilds too, edit `app/events.json` here in G ## Layout -- `app/app.py` — FastAPI app, all five pages server-rendered (Home, /cubs, /troop, /calendar?unit=, /join). Interest form appends to `/data/leads.jsonl` + pushes ntfy (`NTFY_URL` stack env). `/contact` 301s to `/join`. +- `app/app.py` — FastAPI app, all five pages server-rendered (Home, /cubs, /troop, /calendar?unit=, /join). `/contact` 301s to `/join`. - `app/events.json` — calendar seed (see above). - `docker-compose.yml` — Portainer Repository stack definition (port 8131). - Images: **not in the repo.** Bind-mounted read-only from `/srv/scout-website-assets/img`. Source photos live on the NAS (`Scouting-Recruitment-Images`, `scouting-comms/pack-73/assets/social`); web-sized copies in `Scouting-Recruitment-Images/_web`. @@ -41,3 +41,7 @@ To change the **seed** for future rebuilds too, edit `app/events.json` here in G ## Leads `/srv/scout-website/data/leads.jsonl` — one JSON line per interest-form submission, plus an ntfy push per lead. + +## Lead pipeline (self-contained) + +`/join` submissions write **directly** to the shared Google Sheet (`SHEET_ID` stack env, creds bind-mounted from `/srv/scout-website/secrets/service_account.json`) and push to the shared ntfy `scouting` topic (`NTFY_BASE`/`NTFY_TOPIC`/`NTFY_TOKEN`). The extra comments box lands in a new 8th sheet column, **Comments**. Every submission also appends to `/data/leads.jsonl`; if both sheet and push fail, a warning push goes to the fallback `NTFY_URL` topic. No dependency on the scoutpoc or scouting73-form containers: both can be decommissioned without breaking this site. (The flyer QR domain scouting73.thewichersfamily.com should be repointed here before its container is retired.)