简体   繁体   English

我正在尝试将Django项目部署到heroku。 我的应用未运行,日志显示错误代码503

[英]I'm trying to deploy my django project to heroku. My app is not running the log shows error code 503

https://github.com/tony161293/hellodjango https://github.com/tony161293/hellodjango

This is my git repo link showing my sample code I'm trying to launch. 这是我的git repo链接,显示了我要启动的示例代码。 The settings.py file was edited as per the documentation in Heroku django deployment. 根据Heroku django部署中的文档编辑了settings.py文件。 I'm trying to run my application. 我正在尝试运行我的应用程序。 Is there any way to explicitly start my application after deployment? 部署后是否有任何方法可以显式启动我的应用程序?

Or any problem with the Procfile in the project..? 或项目中的Procfile有任何问题..?

Can you do the following: 您可以执行以下操作:

heroku logs --tail , then run heroku ps:restart in a new window. heroku logs --tail ,然后在新窗口中运行heroku ps:restart Copy all the logs output, and paste it so we can help you debug! 复制所有日志输出,并将其粘贴,以便我们可以帮助您调试!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我试图在 heroku 上部署我的 python 和 django 项目并在日志文件中遇到这个错误 - I was trying to deploy my python and django project on heroku and facing this error in log files 尝试在heroku上部署django应用。 工头无法识别 - Trying to deploy django app on heroku. Foreman is not recognized 无法部署 Django + Heroku。 at=错误代码=H10 desc=“应用程序崩溃”方法=获取路径=“/favicon.ico” - Can't deploy Django + Heroku. at=error code=H10 desc=“App crashed” method=GET path=“/favicon.ico” 我正在尝试将我的 python-django 应用程序推送到 heroku,这是来自 temal 和 settings.py 的代码: - i'm trying to push my python-django app to heroku, here is the code from the teminal and settings.py : 我的 Flask 应用程序正在我的本地服务器上运行,但它没有在 Heroku 上运行。 这怎么可能? - My Flask app is running on my local server, but it isn't running on Heroku. How is this possible? 出现错误 => ModuleNotFoundError: No module named 'django' 当我尝试将 django 应用程序部署到 heroku 时 - Getting Error => ModuleNotFoundError: No module named 'django' When I attempt to deploy my django app to heroku 无法在 heroku 上部署我的 django 项目 - Failed to deploy my django project on heroku 当我将Django应用程序部署到heroku时,站点停止工作 - When i deploy my django app to heroku the site stops working Heroku Local 工作正常,它连接到 Heroku 托管的 Postgresql DB。 一旦尝试部署,得到错误代码=H14 status=503 - Heroku Local works fine and it is connected to Postgresql DB hosted by Heroku. Once attempt to deploy, got error code=H14 status=503 将我的第一个 Django 应用程序部署到 Heroku:错误消息“h12”状态“503” - Deploying my first Django app to Heroku: Error message 'h12' status '503'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM