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:
- Signup for OpenShift account
- Setup OpenShift client on your local development machine
- Setup a secure remote connection
- Setup Ruby/Sinatra specific dependencies
- See sinatra-example on Github to get an idea of directory structure and key files needed
- 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