sightbox/scripts
JasonFraser d22b628945 Bring website/ into the dev/prod workflow: local bring-up + a real test suite
dev.sh now also brings up website/'s own stack (bi.bettersight.io,
bettersight.io, shared backend) via its own docker compose up -d --build,
and force-recreates marketing locally too — its content-hash label never
changes on a plain local `up -d` the way generate-dokploy-compose.sh
makes it change for Dokploy, so local edits to bettersightbox-index.html
were silently not picked up either without this.

website/backend gets a real test suite (17 tests: contact form
validation/success/failure, both calculator endpoints, and build_pdf()
exercised for real since it's pure/offline) — previously completely
untested. prod.sh now gates the ship on both test suites passing, since
one git push now triggers both Dokploy apps' AutoDeploy.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 17:49:48 -04:00
..
.env.prod.example Add scripts/dev.sh and scripts/prod.sh for the local build-and-ship workflow 2026-10-03 14:02:54 -04:00
dev.sh Bring website/ into the dev/prod workflow: local bring-up + a real test suite 2026-10-04 17:49:48 -04:00
prod.sh Bring website/ into the dev/prod workflow: local bring-up + a real test suite 2026-10-04 17:49:48 -04:00