Add support for setting user timezone

This commit is contained in:
Peter Stockings
2024-12-28 01:11:11 +11:00
parent 32f810a8b3
commit 2caddf52fe
9 changed files with 147 additions and 270 deletions

View File

@@ -30,6 +30,20 @@
`docker run -p 5000:5000 -e DATABASE_URL=postgres://postgres:59fff56880e1bbb42e753d2a82ac21b6@peterstockings.com:15389/bloodpressure_db bloodpressure`
# Model updates
Create migration
```
flask db migrate -m "Add timezone to Profile model"
```
Apply migration
```
flask db upgrade
```
# Fix deployment issues
Because I was originally using a Heroku buildpack to build/host this app prior to switching to a Dockerfile it sets the ports to: