Commit Graph

3 Commits

Author SHA1 Message Date
Josh Rogers 4adfc9d0bf Fix dev-db.ps1 status to exit cleanly when container is absent
docker inspect exits non-zero when the container is missing; under
$ErrorActionPreference='Stop' that propagated and made `dev-db.ps1
status` exit 1 even though the script printed the right output. Swallow
the inner exit code locally so callers see exit 0.
2026-05-08 23:13:57 -05:00
Josh Rogers aa530cba97 Add scripts/dev-up.ps1 to launch the whole local dev stack
Single command brings up Postgres (via dev-db.ps1), the backend API,
and the Vite frontend. API and frontend each get their own PowerShell
window so logs do not interleave and Ctrl+C only kills the intended
process. Email links print to the API window via LoggingEmailSender.
2026-05-08 23:10:27 -05:00
Josh Rogers 4fdceb2120 Add scripts/dev-db.ps1 helper for the local Postgres container
Wraps docker for the start / stop / reset / status / logs lifecycle of
a postgres:17 container named "yeschef-pg" on localhost:5432, matching
the connection string baked into appsettings.json. Uses a named volume
so data survives a stop; reset wipes both container and volume for a
truly fresh DB.
2026-05-08 23:07:49 -05:00