Add dependency support to Edit Requests

This commit is contained in:
rubenwardy
2018-05-25 17:41:16 +01:00
parent 9d91d337d5
commit 079775f5f6
3 changed files with 58 additions and 0 deletions

View File

@@ -40,3 +40,19 @@ Then run the server:
./rundebug.py
Then view in your web browser: http://localhost:5000/
## How-tos
### Create migration
```sh
# if sqlite
python setup.py -t
rm db.sqlite && python setup.py -t && FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db stamp head
# Create migration
FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db migrate
# Run migration
FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db migrate
```