From 667e6227fd23553e6ff65fd1e8874dd265330df5 Mon Sep 17 00:00:00 2001 From: JasonFraser Date: Sun, 4 Oct 2026 14:12:34 -0400 Subject: [PATCH] dev.sh: regenerate docker-compose.dokploy.yml too, no commit Keeps the marketing content-hash in sync locally as bettersightbox- index.html gets edited during normal iteration, so there's nothing new for prod.sh to auto-commit at ship time. Doesn't commit anything here -- dev.sh stays git-free by design; prod.sh remains the only script that touches git history, gated behind its own clean-tree/test checks. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y --- scripts/dev.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/scripts/dev.sh b/scripts/dev.sh index 46a4018..e08aabd 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -7,12 +7,17 @@ # registry — see scripts/prod.sh for shipping what you've tested here. # # What happens when this runs, in order: -# 1. ./erpnext-image/build.sh — CUSTOM_IMAGE in the root .env is a bare +# 1. ./generate-dokploy-compose.sh — keeps docker-compose.dokploy.yml's +# marketing content-hash in sync as you edit bettersightbox-index.html, +# so there's nothing new for prod.sh to auto-commit at ship time. Not +# committed here — dev.sh never touches git; prod.sh is the only one +# that commits, gated behind its own clean-tree/test checks. +# 2. ./erpnext-image/build.sh — CUSTOM_IMAGE in the root .env is a bare # local tag (not a registry path), so this takes the local branch: # builds sightbox-erpnext for this machine's own architecture, no push. -# 2. ./backend/build.sh — same thing for BACKEND_BILLING_IMAGE: builds +# 3. ./backend/build.sh — same thing for BACKEND_BILLING_IMAGE: builds # sightbox-backend-billing locally, no push. -# 3. docker compose up -d --force-recreate on every service that runs +# 4. docker compose up -d --force-recreate on every service that runs # from either image — the seven ERPNext-image services (configurator, # backend, frontend, websocket, queue-short, queue-long, scheduler) # plus backend-billing — so the freshly-built images actually get @@ -29,6 +34,8 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" cd "$ROOT_DIR" +./generate-dokploy-compose.sh + ./erpnext-image/build.sh ./backend/build.sh