Deploying WordPress as Facebook App With Heroku Cloud


Deploying WordPress as App With Heroku is possible with special git version of WordPress. As the server is Apache and Supports its possible. Please read our previous guide Deploying WordPress as Facebook App With Heroku Cloud otherwise it will appear meaningless.

 

Resources and Credits for Deploying WordPress as Facebook App With Heroku Cloud

 

For this guide Deploying WordPress as Facebook App With Heroku Cloud, we have used mhoofman (on github) ‘s repo wordpress-heroku.

You must be an intermediate to advanced user for using this guide for Deploying WordPress as Facebook App. There are two ways to WordPress in this way. First is to suck the full blood (lack of better alternative term)  of Heroku by uploading WordPress plus creating database there too. This is we will show in this Deploying WordPress as Facebook App With Heroku Cloud.

Second is my modified method. That is more easy. Simply upload WordPress on Heroku and use The Cloud’s database.

 

Steps for Deploying WordPress as Facebook App With Heroku Cloud

 

For deploying WordPress as Facebook App With Heroku Cloud, we need to clone it locally first. Clone the repo by :

 

$ git clone git://github.com/mhoofman/wordpress-heroku.git

 

Deploying WordPress as Facebook App With Heroku Cloud

 

What a fertile brain ! Go to WordPress folder :

 

cd wordpress-heroku

For Deploying WordPress as Facebook App With Heroku Cloud, we will need a database, first create your app :

heroku create

Then add the database :


 

heroku addons:add heroku-postgresql:dev

 

Install WordPress as Facebook App

I have circled “JADE” it will be different for you. Run :

 

heroku pg:promote HEROKU_POSTGRESQL_COLOR

 

For me, the COLOR was JADE.

 

Just run the commands like installing WordPress in a distorted manner :

 

git checkout -b production

 

Then :

 

cp wp-config-sample.php wp-config.php

 

Great, now :

 

>.gitignore

 

Go, only two steps :

 

git add .

 

git commit -m "Initial WordPress commit"

 

Last :

 

git push heroku production:

 

You have done Deploying WordPress as Facebook App With Heroku Cloud !

 

Our url was from heroku create step –  http://limitless-scrubland-5524.herokuapp.com/

 

Just we added Site name, Username etc. :

 

Facebook WordPress App

 

You can check our WordPress here. As you can see it supports permalink structure nicely.

 

Signature

 


0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Mentions

  1. Deploying WordPress as Facebook App With Heroku Cloud says:

    [...] Read How To Deploy WordPress as Facebook App With Heroku Cloud [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>