使用Heroku的Django应用程序部署:错误H10应用程序崩溃

时间:2017-03-23 02:25:33

标签: django heroku

我正在尝试将一个Django Web应用程序部署到Heroku,但每当我尝试打开该应用程序时:

heroku open

我受到了欢迎:

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.

在我托管的网站上。

我检查了日志,他们读了:

2017-03-23T02:13:54.254184+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=salty-wildwood-65286.herokuapp.com request_id=64adedaf-b6e3-45f4-819d-32a24b1a029f fwd="xx.xxx.xxx.xxx" dyno= connect= service= status=503 bytes= protocol=https

Procfile

web: python manage.py runserver $PORT

我的应用程序的名称是immitweet,或者至少,这是我初始化GitHub存储库的文件夹的名称。

我能够在本地运行应用程序就好了,但是当我尝试部署它并在网络上运行时就是我有这个问题的时候。我认为它与Procfile有关,但我不知道是什么。

谢谢!

(注意:这不是RoR应用程序)

0 个答案:

没有答案