我已经开发了一段时间的facebook应用程序,现在我想要更改所有的文件,除了我在尝试git推送heroku时遇到以下错误:
C:\Users\amando96\deep-window-4782>git push heroku
Counting objects: 14, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (11/11), 2.78 KiB, done.
Total 11 (delta 2), reused 0 (delta 0)
-----> Heroku receiving push
! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:deep-window-4782.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:deep-window-4782.git'
C:\Users\amando96\deep-window-4782>而且它不会更新git存储库,因此应用程序也不会更新。
我遗漏了什么?
谢谢。
发布于 2012-09-16 01:21:33
我不确定为什么这对你来说可能是有效的--它不应该有效。
为了在Cedar堆栈上托管静态网站,有一个很好的“技巧”:使用他们的PHP构建包获得一个普通的Apache服务器,然后关闭PHP支持。
请参阅http://kennethreitz.com/static-sites-on-heroku-cedar.html
https://stackoverflow.com/questions/12438612
复制相似问题