我正在尝试实施Django Heroku教程https://devcenter.heroku.com/articles/getting-started-with-django
python manage.py runserver
在virtualenv内部和内部工作正常
foreman start
在virtualenv之外正常工作
foreman start
命令要么停留在第一行,要么以代码1结束
13:29:08 web.1 | started with pid 4231
13:29:13 web.1 | exited with code 1
13:29:13 system | sending SIGTERM to all processes
UPD:
Procfile
web: gunicorn cell_modelling_site.wsgi
答案 0 :(得分:0)
我遇到了更为苗条的问题。我通过使用pip安装gunicorn == 0.16.1解决了这个问题。希望这也能解决你的问题......
用gunicorn替换现有的gunicorn == 0.16.1