所以我按照这个链接教程:https://devcenter.heroku.com/articles/django#deploy-to-herokuHeroku的网络崩溃
一旦我做“的Heroku PS”我得到:
=== web: `python manage.py runserver 0.0.0.0:$PORT --noreload`
web.1: crashed 2013/02/18 20:22:37 (~ 8m ago)
我完全不明白什么是这里的问题,有人可以帮忙吗?我想我的Procfile manage.py在哪里?我试图将它移到那里,但同样的错误仍然显示出来。
顺便说一句我的日志:
2013-02-19T04:36:22+00:00 heroku[api]: Scale to web=1 by [email protected]
2013-02-19T04:41:14+00:00 heroku[api]: Scale to web=1 by [email protected]
2013-02-19T04:43:10+00:00 heroku[web.1]: State changed from crashed to starting
2013-02-19T04:43:17+00:00 heroku[web.1]: Starting process with command `python manage.py runserver 0.0.0.0:31831 --noreload`
2013-02-19T04:43:18+00:00 app[web.1]: python: can't open file 'manage.py': [Errno 2] No such file or directory
2013-02-19T04:43:19+00:00 heroku[web.1]: Process exited with status 2
2013-02-19T04:43:19+00:00 heroku[web.1]: State changed from starting to crashed
2013-02-19T04:44:05+00:00 heroku[api]: Scale to web=1 by [email protected]
尝试搜索日志'heroku logs' – luk3thomas 2013-02-19 04:42:45
我的日志存在,但我仍然不知道我做了什么错误 – Jeff 2013-02-19 04:46:02
开始排除此错误的疑难解答:'python:can not open file'manage.py':[Errno 2]没有这样的文件或目录' – luk3thomas 2013-02-19 04:47:23