You can run the app locally running the following commands in the terminal
git clone https://github.com/allakulov/techlabs_flask_app
sudo apt install python3.8-venv
sudo apt-get update python3.8-venv
sudo python3 -m venv venv
source venv/bin/activate
Please run the following commands to install the requirements/dependencies
pip install -r requirements.txt
python app.py
web: gunicorn wsgi:app
from main import app
if __name__ == “__main__”:
app.run()
https://devcenter.heroku.com/articles/heroku-cli
git init
git add .
git commit -m "Initial commit"
heroku login
heroku create <choose-app-name>
git push heroku master
Once your files are successfully pushed to Heroku, it will take a few minutes for the app to be built and launched.