SPB Git forge

spb/fetcha

Public
11commits 1branches 0releases
1.5 MBsize
maindefault branch
16 days agolast push
TypeScript 97.5% SQL 1.4% Python 0.8%
885 B · 17 lines markdown
Rendered Raw Blame History
1# Deploying Fetcha on MacLustr23Gateway M1M32 + `mld`. Target node: **M3U96a** (Postgres 17 + Redis local). Ports 8220 (web, ngrok `www.fetcha.co`) and 8221 (API, loopback only).45```bash6# 1. manifest (secrets live only on M1M32)7scp deploy/fetcha.mld.json M1M32:~/dispatch/apps/fetcha.json8# 2. stage + deploy9~/Desktop/cluster-skill/mld stage ~/Desktop/Projets/apps-web/fetcha fetcha10~/Desktop/cluster-skill/mld deploy fetcha --node M3U96a11# 3. verify12curl -s https://www.fetcha.co/api/ready13```14Post-sync hooks run `pnpm install`, `db:migrate`, `db:seed` (with `ADMIN_EMAILS` → admins + allowlist), `patchright install chromium`15(managed browser binary, ~170 MB once) and `next build`. PM2 processes: `fetcha-api` (also runs the crawl worker and the browser pool), `fetcha-web`.16Remote source of truth after first deploy: `M3U96a:~/apps/fetcha` (git remote `gitsrv:fetcha.git`).17