这是我得到的:
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (10/10), 3.60 KiB, done.
Total 10 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:dry-plains-3718.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:dry-plains-3718.git'
早些时候我认为这是 .gitignore 文件的问题,但也可以正常工作。我忽略了文档中给出的虚拟环境和 *.pyc。我试过了 :
heroku create --stack cedar
我还必须将我的 pub 密钥添加到 heroku。
heroku keys:add ~/.ssh/id_rsa.pub
这也不能解决我的问题。我对heroku的实现不太了解。我应该检查或尝试任何具体的事情吗?
请帮助我,因为我参考了许多文件,但仍然遇到同样的错误。提前致谢 :)