工头启动
01:25:49 web.1 | started with pid 3584
01:25:55 web.1 | exited with code 1
01:25:55 system | sending SIGTERM to all processes
SIGTERM receivedProcfile
web: gunicorn herokudjango.wsgirequirements.txt
Django==1.6.5
dj-database-url==0.3.0
dj-static==0.0.5
django-toolbelt==0.0.1
gunicorn==19.0.0
psycopg2==2.5.3
pystache==0.5.4
static==1.0.2
wsgiref==0.1.2嗨,我只是跟着https://devcenter.heroku.com/articles/getting-started-with-django
在git推到heroku之后,它工作得很好。
但是,使用foreman并不返回用于测试运行的ip。我从下载包中安装了heroku工具箱,从终端安装了pip django工具箱。有人知道怎么回事吗?
提前谢谢。
答案:http://thefreshlybaked.wordpress.com/2014/07/09/setting-up-django-on-heroku-with-postgresql/
发布于 2014-07-07 08:09:13
我也面临着同样的问题。在使用pip安装gunicorn==0.16.1之后,我解决了我的问题.希望这也能解决你的问题..。
发布于 2014-06-27 09:23:35
https://devcenter.heroku.com/articles/procfile#developing-locally-with-foreman
查看一下文档,默认情况下,领班在端口5000上加载。我相信你可以在procfile中把它更改成你想要的任何端口。
https://stackoverflow.com/questions/24392907
复制相似问题