Deploying apps in OpenShift

After you’ve set up OpenShift with a node or two, deploying applications is as easy as it gets.

You can do lots of stuff in the broker console, but RHC is the way to go:

RHC is a RubyGem installed like all others:

To set it up:

In the following example I deployed a WordPress installation which I exotically named “mywordpress”, running on php-5.4 and MySQL-5.5, using the the example source from GitHub.

As you probably noticed, OpenShift did all the dirty work: created a gitrepo, added DNS, created a MySQL database with a user and password.

And deleted everything when done.

All you can ask for 🙂

More to read about Software engineering