← back to Wallco Ai
.deploy.conf
35 lines
PROJECT_NAME="wallco-ai"
DEPLOY_PATH="/root/public-projects/wallco-ai"
HEALTH_URL="https://wallco.ai/health"
# Exclude prod-generated content from rsync. data/generated/ is 12 GB of live
# SDXL output; data/images/ is 862 MB of vendor-pulled stock; both are written
# on prod by the generators and re-syncing them caused .K6ILCM rename races
# during a live deploy (2026-05-14). Local copies are stale snapshots.
# designs.json + marketplace/events.jsonl are likewise prod-authored (the live
# catalog snapshot + the marketplace event log) — never push local copies over
# them or prod loses freshly-generated designs / events (2026-05-19).
# ghost-scan-* + ghost-purge + bad-aesthetic-patterns + ghost-labels are
# prod-authored too — the prod scanner / Ghost Review UI / bulk-delete endpoint
# all WRITE to these files. Pre-2026-05-24 the deploy was rsync'ing local stale
# copies over them and wiping fresh prod flags between scan + cleanup (lost the
# 4 cactus-pine-scenic flags from the 2026-05-25 prod scan that way).
# 2026-05-31: added data/cactus-decisions.jsonl — server.js appendFileSync's to
# it (~lines 2348/2458) so it is prod-authored; it was missing from this list,
# and a local copy carried +178 stale lines a deploy would have rsync'd over the
# live decision log. Same class as the ghost-scan / bad-aesthetic logs.
# 2026-05-31 (CRITICAL): added data/elements + data/tif — LOCALLY these are
# SYMLINKS to /Volumes/Henry/wallco-ai-archive/{elements,tif} (an external drive),
# but on PROD they are real directories (data/elements alone holds ~35k files).
# Without these excludes, `rsync -a --delete` sees local-symlink vs prod-dir and
# DELETES all ~35k prod files, replacing them with a /Volumes/Henry symlink prod
# can't even resolve. A dry-run on 2026-05-31 showed 34,986 queued deletions.
# Also added the two prod-authored quarantine dirs (the scanner / soft-delete
# endpoints MOVE flagged PNGs into them on prod) — never clobber from local.
# 2026-05-31: added .venv / __pycache__ / *.pyc / logs (local Mac junk — the
# scripts/vectorize/.venv is an 82 MB Mac virtualenv with /opt/homebrew symlinks
# that are dead on Linux prod) and scripts/backfill-rooms.js (a PROD-ONLY script
# the 6:30am wallco-room-backfill cron calls; it was never in the local repo, so
# --delete would have removed it and broken the cron — local has a different
# script, backfill-wallco-rooms.js, not a rename).
RSYNC_EXTRA_EXCLUDES=".venv __pycache__ *.pyc logs scripts/backfill-rooms.js data/generated data/generated_pre_seamless_backup data/generated_ghost_quarantine data/generated_cactus_quarantine data/elements data/tif data/images data/rooms data/spoonflower-pulled data/fliepaper-bugs public/uploads public/marketplace/uploads data/designs.json data/marketplace/events.jsonl data/cactus-decisions.jsonl data/prompt-match-ratings.jsonl data/ghost-scan-flagged.jsonl data/ghost-scan-results.jsonl data/ghost-scan-triage.jsonl data/ghost-scan-flagged.pre-*.jsonl data/ghost-scan-flagged.post-*.jsonl data/ghost-scan-results.pre-*.jsonl data/bad-aesthetic-patterns.jsonl data/bad-aesthetic-patterns.*.jsonl data/ghost-purge.jsonl data/ghost-labels.jsonl data/fixes-feed.jsonl data/.rescan-current.txt data/.rescan-ready.txt data/pdp-theme.json data/custom-styleguides.json"