Deploy Flask App
A CLI package that deploys your flask app to Heroku.
Install using pip3
$ pip3 install deploy-to-heroku
Package @ PyPI repository: https://pypi.org/project/deploy-to-heroku/
Ensure you have a heroku account and that you are logged in to heroku. You can check using
$ heroku login
If you are logged in properly, you must create an app on heroku dashboard. After creating your app on heroku, you will have to pass the name as argument when running deploy-to-heroku.
$ cd app_name $ deploy-to-heroku app_name
Feel free to create issue in case something is not working :)