【发布时间】:2018-07-13 14:04:16
【问题描述】:
我尝试上传应用并在 heroku 上运行 源文件如下。 https://github.com/utahub/django_attend-managing-app/tree/heroku_check
用命令
git push heroku heroku_check:master
但即使认为根目录中存在 runtime.txt,Heroku 也不会检测到默认语言。
remote: Compressing source files... done.
remote: Building source:
remote:
remote: ! No default language could be detected for this app.
remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
remote: See https://devcenter.heroku.com/articles/buildpacks
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to uta-attend-managing-app.
remote:
这个问题我用了 2 天。 请告诉我为什么会这样。
提前谢谢你。
【问题讨论】:
-
注意:使用 buildpack 命令,它成功了,但是在没有 buildpack 命令的情况下是否可以部署?没有使用 buildpack 的 qiita 文章,所以我认为我的应用程序看起来有问题。我想弄清楚我