所以我正在关注这个链接中的教程:https ://devcenter.heroku.com/articles/django#deploy-to-heroku
一旦我做“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 deathlordx87@yahoo.com
2013-02-19T04:41:14+00:00 heroku[api]: Scale to web=1 by deathlordx87@yahoo.com
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 deathlordx87@yahoo.com