heroku logs -t (live logs) heroku logs -n 1500
Here is what the above code is Doing:
1. We’re importing the Flask class from the flask module.
2. We’re creating a new “app” which will be run.
3. We’re defining what should happen when a user goes to the “/” (or “home”) page.
4. If the script is run directly from Python, it will start up the server.