Add support for setting user timezone
This commit is contained in:
14
Readme.md
14
Readme.md
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user