【发布时间】:2021-04-28 11:18:00
【问题描述】:
我正在尝试将 Django 应用程序部署到 Heroku。当我按照文档尝试命令git push heroku master 时,我得到了error: failed to push some refs to 'https://git.heroku.com/sleepy-eyrie-25993.git'。我在网上搜索并尝试使用git pull。但它没有用。我也尝试使用git push -f heroku master,但仍然遇到同样的错误。还有其他方法吗?我跟着这个文档
https://devcenter.heroku.com/articles/python-support。
尝试使用heroku仪表板,但它给出了同样的错误
Building on the Heroku-18 stack ! No default language could be detected for this app. HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. See https://devcenter.heroku.com/articles/buildpacks ! Push failed
【问题讨论】:
标签: django git heroku deployment