๐ This is an example project on how to configure and wrap a python app into Flask to provide api services.
- Installing virtualenv
-
Linux/Mac
python3 -m pip install --user virtualenv
-
Windows
py -m pip install --user virtualenv
- Create virtualenv
-
Linux/Mac
python3 -m venv env source env/bin/activate
-
Windows
py -m venv env .\env\Scripts\activate
This is configured to run on heroku
heroku create
git push heroku main
Heroku with help from this blog post: https://geekyhumans.com/how-to-deploy-flask-api-on-heroku/