First Post (Installing Ghost)

This is my first post on this new and exciting blogging platform. I needed 2 days to figure out how to install it, primary because it makes use of Node.js and i’m not an expert of this new technology. After i read up on it i understood that i had 3 possibilities:

  • Dedicated Server
  • VPS
  • Hosting with Node.js

Hosting platform

I had to find an hosting service that offers Node.js support.

After looking at some providers i’ve chosen OpenShift because i liked the gears based system

About OpenShift

What’s a Gear

From OpenShift site:

A gear is a resource-constrained container that runs one or more user-specified software stacks, also known as cartridges. Each gear has a limited amount of RAM and disk space. If an application needs more resources, it can be configured to automatically use more gears. Gears come in multiple sizes to suit the needs of various software stacks.

GIT source control

I liked also the handling of contents done with GIT system, with just a commit you can have your app up and running:

All OpenShift applications are built around a Git source control workflow - you code locally, then push your changes to the server. The server then runs a number of hooks to build and configure your application, and finally restarts your application. Optionally, applications can elect to be built using Jenkins, or run using “hot deployment” which speeds up the deployment of code to OpenShift.

This shit is awesome!

Install Ghost

Install the cartrgide

The community created a cartridge to setup all for us:

  • install Node.js
  • install MySql
  • install Ghost

Ghost with MySQL on OpenShift

RHC Client Tools

With this set of tools you can interact with the platform:

The OpenShift client tools make it easy tocreate and deploy applications, manage domains, control access to your OpenShift applications, and give you complete control of your cloud environment.

To install this tool you’ll need:

  1. Install GIT for windows (Command Line)
  2. Install Ruby
  • Using “Add Ruby executables to your PATH” option
  1. Install RHC tool from RubyGems using gem install rhc
  2. Run rhc and setup ssh key following the instructions
  3. Go to OpenShift site to your app panel and do a git clone with the URL indicated

Now you have a local repo of your blog! You can do an edit then commit and push back to OpenShift, you’ll see compilation log.

Ghost Blog is Ready!

Go to and start writing!