Add M1-6 deploy script

This commit is contained in:
Ty
2026-09-14 02:14:08 -07:00
parent 25b1650a8a
commit 509e2e82a3
+15
View File
@@ -0,0 +1,15 @@
# M1-6 UAT Deploy — run these on 192.168.1.202
# 1. Copy the repo to .202 (from THIS machine, /home/ty):
rsync -az --exclude node_modules --exclude .svelte-kit --exclude build \
/home/ty/SlabUploader/ ty@192.168.1.202:SlabUploader/
# 2. Build the image on .202:
ssh ty@192.168.1.202 "cd SlabUploader/frontend && docker build -t slabuploader-m1 . && \
docker rm -f slabuploader-m1 2>/dev/null; \
docker run -d --name slabuploader-m1 --restart unless-stopped -p 18080:80 slabuploader-m1 && \
echo 'Container running at http://192.168.1.202:18080'"
# 3. Verify from your phone:
# Open http://192.168.1.202:18080 in Safari/Chrome
# Flow: Add photo → Mask (green sheet, sensitivity) → Approve → Axis → Approve → Measure → Calculate