I have a python web app that I can successfully run on my local machine with this command
python run.py
I have successfully deployed the code to Heroku, but when I go to my application URL I get this error message that says
Application error. An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
Looking at the log tails yields
heroku logs --tail ✘ 2
› Error: Missing required flag: › -a, --app APP app to run command against
My Procfile contains
web: python --app monte-carlo-retirement run.py
where monte-carlo-retirement is the name of my app