Taking OpenShift for a Test Drive with Sinatra

I decided to try out Red Hat’s PAAS solution OpenShift by deploying a simple application built on Ruby Sinatra. These were the basic steps required to get up and running:

  1. Signup for OpenShift account
  2. Setup OpenShift client on your local development machine
  3. Setup a secure remote connection
  4. Setup Ruby/Sinatra specific dependencies
  5. See sinatra-example on Github to get an idea of directory structure and key files needed
  6. Create a Github repo for the app and sync it with Openshift repo

I already had a simple Sinatra utility app running locally. I was able to signup, complete initial setup, deploy, and have the app running on OpenShift in less than 15 minutes! Great first experience!

Written on January 11, 2016