I'm having trouble pushing my PHP project to Heroku. Every time I try to push I get this error:
----> Heroku receiving push
! Heroku push rejected, no Cedar-supported app detected.
To git@heroku.com:intense-hamlet-7552.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:intense-hamlet-7552.git'
It's my first time using Heroku, so here's what I've done (tried to follow this) :
- I've created a new folder in my Eclipse workspace.
- In this folder I've run
git init
. - I created a new PHP project (in Eclipse) in this folder.
- I run
heroku create
. - I commit my files with TortoiseGit (I've also tried with the command-line, no difference).
- I push the repository with
git push heroku master
- Then I get the error described above.
I've tried several times with new folders, new repositories but it happens every time.
What am I doing wrong?
EDIT: For people suggesting duplicated post:
I've seen the post Heroku push rejected, no Cedar-supported app detected which describes a problem for a Ruby application, where a Gemfile
is miss-spelled. My application is a PHP application and does not have a Gemfile
.