[英]Heroku app deployed successfully but Application Error
I'm trying to deploy a simple python Dash app to Heroku, I can deploy the app without any issues but I keep getting an Application Error when I try and view it.我正在尝试将一个简单的 python Dash 应用程序部署到 Heroku,我可以毫无问题地部署该应用程序,但是当我尝试查看它时,我一直收到应用程序错误。 When I try to look at the logs through the CLI it can't find the app -- I have no understanding why!当我尝试通过 CLI 查看日志时,它找不到该应用程序——我不明白为什么!
I have created the requirements.txt file along with the Procfile file.我创建了 requirements.txt 文件和 Procfile 文件。
GitRepo for project: https://github.com/Karan-Ghatt/Covid-Data-Dash项目的 GitRepo: https://github.com/Karan-Ghatt/Covid-Data-Dash
I don't seem to understand why this is not working, any insight would be greatly appreciated!我似乎不明白为什么这不起作用,任何见解将不胜感激!
your question isn't exactly clear and it'll have been better if you posted the error.您的问题不是很清楚,如果您发布错误会更好。 if heroku can't detect your app as a python app then you should try setting the buildpack.如果 heroku 无法将您的应用检测为 python 应用,那么您应该尝试设置 buildpack。
heroku buildpacks:set heroku/python
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.