#FLASK APP failed to deploy

22 messages · Page 1 of 1 (latest)

proud thorn
#

I used the refernce flask project idk why

maybe the build/run command i put in was incorrect?

regal thistleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

tidal sorrelBOT
#

Project ID: N/A

proud thorn
#

this is the file structure

untold vault
#

Did you deploy the flask template? If you deploy the template, it will copy the contents to your github account for you automatically.

proud thorn
#

No

untold vault
#

Your procfile needs to be Procfile with a capital

proud thorn
#

I just edited it

#

Should i use the flask template?

#

Since i already had the project i thoought it would just manually add the files and changes

untold vault
#

I completely understand.

#

What is the contents of your Procfile?

proud thorn
#

web: gunicorn main:app

#

I should add python app.py to the run command right?

untold vault
#

Change your Procfile to web: gunicorn app:app

proud thorn
#

Thank you

#

I did

#

now its just

#

this in the webpage