procfile

Procfile not found, Heroku python app

北战南征 提交于 2019-12-03 05:48:59
问题 Doing the heroku python demo and having problems with Procfile. I have it in the right directory (alongside requirements.txt, venv/, and app.py) and the file is "Procfile" without .txt extension (as other questions suggest). Contents of Procfile are: web: python app.py Nonetheless, I keep getting the "Procfile does not exist" error when running "foreman start." At my wits end, any suggestions would be appreciated. Cheers, Thain EDIT: Retried creating "Procfile" using echo command rather than

Procfile not found, Heroku python app

落爺英雄遲暮 提交于 2019-12-02 19:10:28
Doing the heroku python demo and having problems with Procfile. I have it in the right directory (alongside requirements.txt, venv/, and app.py) and the file is "Procfile" without .txt extension (as other questions suggest). Contents of Procfile are: web: python app.py Nonetheless, I keep getting the "Procfile does not exist" error when running "foreman start." At my wits end, any suggestions would be appreciated. Cheers, Thain EDIT: Retried creating "Procfile" using echo command rather than an editor - echo "web: python app.py" > Procfile worked after that, thanks. Just adding an answer so