Commit Graph

2 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 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