In a couple of minutes, deploy the simplest flask app that can be run on heroku server.
- Here
app:app
is something similar tofrom app import app
Firstapp
is written because of filename and secondapp
is written because of the variable in the file which is our app to run by gunicorn requirements.txt
file is absolutely necessary for heroku to understand that this is python project
heroku logs -t -a <app_name>
to view server logs continuouslyheroku ps
to see running thread/servicehttps://devcenter.heroku.com/articles/getting-started-with-python#introduction
for more