2024-04-19 16:07:25 发布
网友
我第一次尝试在heroku上部署django应用程序,但有一段时间我都陷入了同样的问题: 每次我这么做
heroku open
我的应用程序崩溃,heroku日志显示:
我的Procfile(wsgi.py在lafusee应用程序中):
web : gunicorn lafusee.wsgi --log-file -
如何从heroku获取更具描述性的错误消息来调试我的项目?在
检查requirements.txt是否包含gunicron。在
requirements.txt
gunicron
同时尝试将Procfile设置为:web : gunicorn lafusee.wsgi -b 0.0.0.0:$PORT
web : gunicorn lafusee.wsgi -b 0.0.0.0:$PORT
检查
requirements.txt
是否包含gunicron
。在同时尝试将Procfile设置为:
web : gunicorn lafusee.wsgi -b 0.0.0.0:$PORT
相关问题 更多 >
编程相关推荐