How To Install Ghost on Openshift

15 Jun 2014

Ghost is a simple, powerful publishing platform that allows you to share your story with the world. This tutorial will guide you how to install Ghost on Openshift in minutes. Openshift provide free hosting for Ghost blog (and more).

Sign Up Openshift

First step to get your Ghost blog up and running is sign up a Openshift account.

Sign up Openshift

Click on SIGN UP link on top right to open sign up form.

Sign up form Openshift

Fill in details in sign up form and hit Sign Up button to sign up.

Install `rhc` tool

After sign up, you need install rhc tool to setup Ghost blog on Openshift. You can follow instructions from Installing OpenShift RHC Client Tools on how to install rhc tool.

Install Ghost on Openshift

In this section, you will use rhc tool to create Ghost blog on Openshift.

rhc app create ghost nodejs-0.10 --env NODE_ENV=production --from-code

Your application 'ghost' is now available.
  SSH to:
  Git remote: ssh://
  Cloned to:  /home/gtheme/ghost

The above command will create a new app ghost. Now you can browse to your Ghost blog.