[英]heroku deployment problems app not compitable
I am uploading my project to heroku but it says 我正在将项目上传到heroku,但是它说
-----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
! Push failed
but I have requirements.txt. 但我有requirements.txt。 Any help? 有什么帮助吗?
Your requirements.txt
file needs to be at the root of your GIT repository. 您的requirements.txt
文件必须位于GIT存储库的根目录下。
If you don't wish to do so, you can use the monorepo unofficial buildpack which will let you configure a config var with the name of the subfolder you with to deploy. 如果您不希望这样做,可以使用monorepo非官方buildpack,它将使您可以使用要部署的子文件夹的名称来配置config var。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.