SPB Git forge

spb/websensor

Public
33commits 1branches 0releases
3.4 MBsize
maindefault branch
10 days agolast push
TypeScript 55.4% Python 43.2% SQL 1.2%

deploy: M4M64b copy deleted 2026-09-14, BHS128 is the only production data

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Simon-Pierre Boucher committed 10 days ago (Sep 14, 2026) parent ff3d8df

1 changed file +3 −1

modified deploy/README.md +3 −1
@@ -9,7 +9,9 @@
9 9 > LAN uplink (Bell) collapsing under the ~6 000 outbound connections of the engine + factory (NAT table).
10 10 > **Release on BHS128**: `rsync -az --exclude node_modules --exclude .git --exclude 'apps/web/.next' --exclude data --exclude 'deploy/*.mld.json' . BHS128:apps/websensor/`
11 11 > then `ssh BHS128 'cd apps/websensor && pnpm install --frozen-lockfile && DATABASE_URL=postgres://websensor:websensor@127.0.0.1:5432/websensor pnpm db:migrate && DATABASE_URL=postgres://websensor:websensor@127.0.0.1:5432/websensor node node_modules/tsx/dist/cli.mjs apps/engine/src/cli.ts sync && API_URL=http://127.0.0.1:8260 NEXT_PUBLIC_SITE_URL=https://www.websensor.io pnpm --filter @websensor/web build && pm2 restart websensor-engine websensor-factory websensor-api websensor-web && pm2 save'`.
12 > The M4M64b copy is kept as a cold backup (retired from `mld` with `--keep-dir`); the `mld` procedure below still works to move back.
12 +> The M4M64b copy (code, blobs, Postgres database, Redis keys) was deleted on 2026-09-14: BHS128 now holds the only production data —
13 +> schedule an off-host backup (`pg_dump websensor` + `~/websensor-data/blobs`). The `mld` procedure below is kept for reference (manifest backup:
14 +> laptop `~/Desktop/Cluster/secrets/mld-manifests-retired-20260914/websensor.json`).
13 15
14 16 WebSensor formerly ran as four PM2 processes on one node (M4M64b), published through the MacLustr Tunnel (WireGuard +
15 17 Caddy on the OVH gateway BHS64, `www.websensor.io`; ngrok was retired on 2026-09-10), orchestrated by `mld` from the
16 18