Skip to content

Commit

Permalink
Merge pull request #13 from ces-unsw-edu-au/jrfep-patch-1
Browse files Browse the repository at this point in the history
Update Instructions-flask.md
  • Loading branch information
jrfep authored Mar 18, 2024
2 parents 9f3e01f + cb5d2a9 commit b20919f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Instructions-flask.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ pip install openpyxl
pip install pillow ipyplot
pip install pyinaturalist
pip install pickle5

pip install flask_migrate flask_cors flask_sqlalchemy
pip3 install python-dotenv
pip3 install sendgrid
```

Create and initialise directory
Expand All @@ -71,8 +73,10 @@ pip freeze > requirements.txt
cd ~/proyectos/fireveg/fireveg-webapp
export FLASK_APP=webapp
export FLASK_DEBUG=TRUE
# initialise sqlite database if doesn't exists
[ -e instance/webapp.sqlite ] || flask init-db
# initialise sqlite database if doesn't exists / old version with sqlite
# [ -e instance/webapp.sqlite ] || flask init-db
# For new authentication system
# Either 'SQLALCHEMY_DATABASE_URI' or 'SQLALCHEMY_BINDS' must be set
# run the webapp
flask run
```
Expand Down

0 comments on commit b20919f

Please sign in to comment.