Installing WordPress on Heroku with Rackspace Cloud Database


Installing on Heroku with Rackspace is not very tough if you want to host WordPress on Heroku Cloud and use Rackspace Cloud Database. Not Tough means you need to have some basic idea about Installing WordPress via Command Line Interface (CLI) and Git commands. Even if you do not have any idea about these but still want to continue Installing WordPress on Heroku with Rackspace Cloud Database, these guides will prime you to get ready for Installing WordPress on Heroku with Rackspace Cloud Database :

 

 

Preface before Installing WordPress on Heroku with Rackspace Cloud Database

 

The basic of Installing WordPress on Heroku with Rackspace Cloud Database is, we will use the real full version of WordPress upload it to Heroku (logic is – it runs Apache and PHP) and we will use Rackspace Cloud Database which supports to connect with any other host using IP. We will try to offload static content to to keep Heroku hosting within free range.

 

Steps for Installing WordPress on Heroku with Rackspace Cloud Database

 

Obviously, launch Git Bash CLI like we did on  Deploying WordPress as Facebook App With Heroku Cloud and  Deploying a Facebook App With Heroku Cloud. Login to your namespace in Heroku and then directory to master. To sum up the commands will be :

 

Command 1 :

 

heroku login

 

Login and then an Private Key by :

 

ssh-keygen -t rsa

 

We are assuming that the user is using , for or Mac the steps could be made easier.  This method of Installing WordPress on Heroku with Rackspace Cloud Database will work on any OS.


 

Now change directory to Master. We are using the app namespace salty-gorge-5565 with url https://salty-gorge-5565.herokuapp.com/ .

 

cd  salty-gorge-5565

 

Change with your app namespace. We will clone WordPress locally :

 

git clone git://github.com/WordPress/WordPress.git

 

 

Installing WordPress on Heroku with Rackspace Cloud Database

 

It will take a huge time to download or rather clone the 35 mb bunch of . In Linux we would use wget and untar it. Its difficult in Windows Git Bash. Not impossible, but that is itself a pain.

As everything is on WordPress subfolder, we need to move all file to root.

Use jcamenisch’s  dotfiles script from Github to move the content in Windows, else it will crash if you run our usual favorite mv command.

 

So the basic thing is – now you have to push it.

 

git commit -am "Initial WordPress commit"

 

git push -u origin master

 

 

We have avoided any trick, we simply pushed them as file. So, with normal WordPress installation logic, if you now point to your-app-name.herokuapp.com/wp-admin/install.php ; it will ask to create a config file, this is what we wanted for Installing WordPress on Heroku with Rackspace Cloud Database. As we have a database with PHPMyAdmin ( Installing WordPress on Rackspace Cloud Sites) we can simply use the IP of database instead of localhost.

 

As the database is on a secured place, you practically need to backup only the wp-content folder. The process for Installing WordPress on Heroku with Rackspace Cloud Database is intersting but we do not recommended to use it for serious website due to security flaws.

 

Signature

p


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.

Leave Lame Behind - Get Engaged

Here’s what we’ve got for you:

Contact Us Today for Smarter Marketing of Knowledge

See each of the premium resources below:

For Publishers and Content Owners

Do you want to optimize your available content?

Do you want to increase the visibility of your content?

Do you want to increase your reliability as an Author?

Do you want your next or existing project to be technically planned?

If your answer to any of these is YES contact us with your approximate budget.

Contact Us Today

For the Media Companies and Advertisers

You must be seeking a publisher website like ours with real content to give an exposure to your client's business?

We provide Industry's Standard opportunities for advertisement.

Do you want some promotion that comes with proper invoicing, SLA on per annum basis?

If your answer is YES contact us today for a quote.

Contact Us Today for Quote

Mentions

  1. Installing WordPress on Heroku with Rackspace Cloud Database says:

    [...] How to Install WordPress on Heroku with Database [...]

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>