Skip to content

VictorioBerra/Pumpkin.Beer.Taste

Repository files navigation

Blind Taste Test App

Contributing

Spin up the MSSQL container using docker compose up pumpkinbeertaste-db -d. This is a one-time thing unless you want to blow away the container and volume and start again.

Docker

  • docker build . --file .\src\Pumpkin.Beer.Taste\Dockerfile

Build using Docker Compose

  • docker-compose up --remove-orphans --build

Manual SQL Server Container Creation

Deployment

  • Automated by GitHub Actions

Migrations

  • cd ./src/Pumpkin.Beer.Taste
  • dotnet ef migrations add Whatever

TODO

TimeZones are not implemented at all basically. This app fully assumes CT time zone. Docker compose sets DB to TZ=America/Chicago.

The audit properties save with a zero offset.

When a user creates a tasting, the start and closed date is saved with the offset.

When you use the clock service to get the UtcNow, it comes back without an offset. - TODO did this change when I upgraded TimeProvider? Need to test...