所以我按照這個鏈接教程: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