← back to Wallco Ai
deploy: ship scripts/seam-defect-boxes.py to prod (used by /api/etsy-bucket/add eligibility check). Same pattern as refresh_designs_snapshot.py: explicit single-file rsync after scripts/ wholesale exclude. Add narrowly as more runtime-endpoint scripts emerge.
da0674d0898dc3ad18b703901db95b7bba0fa0f1 · 2026-05-28 10:20:14 -0700 · Steve Abrams
Files touched
Diff
commit da0674d0898dc3ad18b703901db95b7bba0fa0f1
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu May 28 10:20:14 2026 -0700
deploy: ship scripts/seam-defect-boxes.py to prod (used by /api/etsy-bucket/add eligibility check). Same pattern as refresh_designs_snapshot.py: explicit single-file rsync after scripts/ wholesale exclude. Add narrowly as more runtime-endpoint scripts emerge.
---
deploy-kamatera.sh | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/deploy-kamatera.sh b/deploy-kamatera.sh
index 9976921..1cdb1f1 100755
--- a/deploy-kamatera.sh
+++ b/deploy-kamatera.sh
@@ -84,6 +84,18 @@ echo "[2c/6] ship guarded snapshot script..."
rsync -az "$LOCAL_DIR/scripts/refresh_designs_snapshot.py" \
"$REMOTE:$REMOTE_DIR/scripts/refresh_designs_snapshot.py" && echo " guarded refresh_designs_snapshot.py shipped"
+# 2d. Ship runtime-endpoint scripts. scripts/ is excluded from main rsync, but
+# a handful of .py files ARE called via subprocess.spawn from server.js
+# endpoints reachable on the live site — they have to be present on prod
+# for those features to work. List grows narrowly as endpoints add deps;
+# don't unbox scripts/ wholesale.
+echo "[2d/6] ship runtime-endpoint scripts..."
+for script in scripts/seam-defect-boxes.py; do
+ if [ -f "$LOCAL_DIR/$script" ]; then
+ rsync -az "$LOCAL_DIR/$script" "$REMOTE:$REMOTE_DIR/$script" && echo " $script shipped"
+ fi
+done
+
# 4. npm install on remote
echo "[3/6] npm install..."
ssh "$REMOTE" "cd $REMOTE_DIR && npm install --omit=dev 2>&1 | tail -5"
← 77dbbab admin pages: q() now anchors '/'-prefixed paths to location.
·
back to Wallco Ai
·
etsyEligible: pass --path to seam scanner (resolve from DESI 153d690 →