Heroku push rejected, Cedar-enabled application did not detect wordpress

I am trying to deploy wordpress on a heroku application using the tutorial @ http://decielo.com/articles/350/wordpress-on-heroku-up-and-running

Everything works fine and dandy, bye ...

18:25:53-~/code/abc_wordpress$ git push production master Counting objects: 1080, done. Delta compression using up to 4 threads. Compressing objects: 100% (1058/1058), done. Writing objects: 100% (1080/1080), 4.48 MiB | 174 KiB/s, done. Total 1080 (delta 66), reused 0 (delta 0) -----> Heroku receiving push ! Heroku push rejected, no Cedar-supported app detected To git@heroku.com :abc_wordpress.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to ' git@heroku.com :abc_wordpress.git' 

Also for reference

 18:25:50-~/code/abc_wordpress$ git remote -v production git@heroku.com :abc_wordpress.git (fetch) production git@heroku.com :abc_wordpress.git (push) 

and that too ...

 18:21:48-~/code/abc_wordpress$ heroku config === abc_wordpress Config Vars CLEARDB_DATABASE_URL: mysql://... DATABASE_URL: mysql://... 

what's happening?

+1
source share
1 answer

I assume that you skipped the step by which you move the application from wordpress/ and to the root of the git repository. In other words, git ls-files should show index.php , not wordpress/index.php .

PHP buildpack requires index.php at the root to detect your repo as a PHP application.

+8
source

All Articles