从herroku启动django-app时,它会显示"应用程序错误",但日志不会显示任何错误

时间:2018-04-14 11:13:08

标签: python django python-3.x github heroku

我在PyCharm的django app(noob)工作,然后在GitHub上备份。我想从heroku运行应用程序,我创建了一个工作区,并从Git链接部署了应用程序。在日志中它表示应用程序正在启动,但是当我尝试访问该页面时,它表示"应用程序错误!应用程序中发生错误,无法提供您的页面。如果您是应用程序所有者,请查看日志以获取详细信息。" 这是日志:

-----> Python app detected
-----> Installing pip
-----> Installing requirements with pip
-----> $ python manage.py collectstatic --noinput
       94 static files copied to '/tmp/build_92826bd11c22ebfaffc04da632fb123d/USR/static'.
-----> Discovering process types
       Procfile declares types -> (none)
-----> Compressing...
       Done: 49.6M
-----> Launching...
       Released v12
       https://backend-educational.herokuapp.com/ deployed to Heroku

关于我错过了什么的任何想法?

1 个答案:

答案 0 :(得分:0)

在heroku页面的“活动”选项卡上检查日志,并查看其内容。

相关问题