Skip to content

Flask learning project following the article at RealPython

Notifications You must be signed in to change notification settings

imtiaz-rahi/flask-by-example

Repository files navigation

flask-by-example

Learning project following the article at RealPython

# For staging environment on heroku
$ git push stage master
$ heroku run python app.py --app wordcount-ir-beta

# For production environment on heroku
$ git push prod master
$ heroku run python app.py --app wordcount-ir-prod

Database Management

python manage.py db init
python manage.py db migrate
python manage.py db upgrade
heroku config --app wordcount-ir-beta
heroku addons:create heroku-postgresql:hobby-dev --app wordcount-ir-beta
heroku run python manage.py db upgrade --app wordcount-ir-beta

heroku addons:docs heroku-postgresql # to view documentation

Setup redis on heroku

heroku addons:create redistogo:nano --app wordcount-ir-beta

About

Flask learning project following the article at RealPython

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published