← back to Homesonspec
DEPLOY.md: document deploy-web.sh as the sanctioned safe web-deploy path (generic deploy.sh --delete would wipe the 85G crawl cache)
f8ba090b33e5ac99d46150ac07018a89b8c60ee5 · 2026-08-06 13:30:17 -0700 · Steve
Files touched
Diff
commit f8ba090b33e5ac99d46150ac07018a89b8c60ee5
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Aug 6 13:30:17 2026 -0700
DEPLOY.md: document deploy-web.sh as the sanctioned safe web-deploy path (generic deploy.sh --delete would wipe the 85G crawl cache)
---
DEPLOY.md | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/DEPLOY.md b/DEPLOY.md
new file mode 100644
index 00000000..31c2134f
--- /dev/null
+++ b/DEPLOY.md
@@ -0,0 +1,22 @@
+# HomesOnSpec — how to deploy (sanctioned path)
+
+**Do NOT create a generic `.deploy.conf` / use `~/Projects/_shared/scripts/deploy.sh` here.**
+That script does `rsync -az --delete` over the *whole repo*. Against this project that would
+sync Mac2's small `var/` over Kamatera's **~85 GB content-addressed crawl cache** (`var/snapshots`)
+and delete it, and try to push the 55 GB `apps/workers/`. It is a footgun.
+
+## The web app (the customer-facing site, homesonspec.com → Kamatera)
+```
+! bash ~/Projects/homesonspec/deploy-web.sh
+```
+This is surgical and safe: it rsyncs ONLY `apps/web/src/` → Kamatera, rebuilds
+`@homesonspec/web` there, restarts `pm2 homesonspec-web`, and verifies web/map/api/https.
+Never touches `var/`, data, or the workers. Verified 2026-08-06.
+
+## Topology
+- homesonspec.com → **45.61.58.125 (Kamatera)**, nginx → Next.js, `pm2 homesonspec-web`,
+ repo at `/root/Projects/homesonspec`.
+- The Mac2 `hos-web` pm2 process is a LOCAL mirror (its own DB) — rebuilding it does NOT
+ affect the live site.
+- Related deploy scripts in this repo: `deploy-web.sh` (web), `deploy-full.sh`,
+ `deploy-kamatera.sh`, `golive-homesonspec.sh`. Prefer `deploy-web.sh` for web-only changes.
← 572ac8f7 homesonspec: Cycle 2 — map viewport-cull+grid-cluster (no 70
·
back to Homesonspec
·
homesonspec/mobile: Cycle 2 Cody fixes — homeDetailUrl /home 6abe8f2e →