简体   繁体   English

应用程序与 buildpack、django Heroku 不兼容

[英]App not compatible with buildpack, django Heroku

Using buildpack: heroku/python but still it says not compatible.使用 buildpack: heroku/python 但它仍然说不兼容。 I am a beginner in Django please help.我是 Django 的初学者,请帮忙。

Here is build log :这是构建日志:

-----> Building on the Heroku-20 stack -----> Using buildpack: heroku/python -----> 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 ! -----> 在 Heroku-20 堆栈上构建 -----> 使用 buildpack:heroku/python -----> 应用程序与 buildpack 不兼容: https ://buildpack-registry.s3.amazonaws.com /buildpacks/heroku/python.tgz更多信息: https : //devcenter.heroku.com/articles/buildpacks#detection-failure Push failed推送失败

There might be tons of reasons related to your problem.与您的问题相关的原因可能有很多。 Please consider using Heroku's documentation to learn how to deploy Django applications.请考虑使用Heroku 的文档来学习如何部署 Django 应用程序。 You should initially define Procfile (probably runtime.txt file) and requirements.txt files at the minimum.您应该最初Procfile定义Procfile (可能是runtime.txt文件)和requirements.txt文件。 Please make sure your requirements.txt file contains all the requirement (also related to deployment/process packages such as gunicorn or similar).请确保您的requirements.txt文件包含所有需求(也与部署/流程包相关,例如 gunicorn 或类似的)。 You can also share more detail if you want to get specific answers related to your problem.如果您想获得与您的问题相关的具体答案,您还可以分享更多详细信息。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM