【发布时间】:2011-12-05 00:25:31
【问题描述】:
我一直在关注 http://devcenter.heroku.com/articles/django 的 heroku django 教程,但一直遇到以下问题。
当我运行heroku open 并访问我的应用程序网站时,我总是得到Application Error。当我查看日志时,我看到以下几行:
2011-10-11T04:55:35+00:00 heroku[web.1]: Starting process with command `python hellodjango/manage.py runserver`
2011-10-11T04:55:35+00:00 app[web.1]: python: can't open file 'hellodjango/manage.py': [Errno 2] No such file or directory
我的ProcFile 只包含web: python hellodjango/manage.py runserver。
最后,当我在命令行中使用foreman start 时,我的 django 应用程序在本地运行良好。
有什么想法吗?谢谢
【问题讨论】: