sightbox/website/backend
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
..
assets Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
middleware Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
routes Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
services Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
tests Bring website/ into the dev/prod workflow: local bring-up + a real test suite 2026-10-04 17:49:48 -04:00
.dockerignore Bring website/ into the dev/prod workflow: local bring-up + a real test suite 2026-10-04 17:49:48 -04:00
.env.example Rename website/backend's sender name default to "Bettersight" 2026-10-04 16:38:26 -04:00
.gitignore Bring website/ into the dev/prod workflow: local bring-up + a real test suite 2026-10-04 17:49:48 -04:00
Dockerfile Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
app.py Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io) 2026-10-04 16:06:56 -04:00
config.py Rename website/backend's sender name default to "Bettersight" 2026-10-04 16:38:26 -04:00
requirements.txt Bring website/ into the dev/prod workflow: local bring-up + a real test suite 2026-10-04 17:49:48 -04:00