Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OpenShift QuickStart Git Repository for Sinatra
Ruby Shell
tree: 00b686a4c2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.openshift
public
tmp
.gitignore
Gemfile
Gemfile.lock
README
README.md
app.rb
config.ru

README.md

Sinatra on OpenShift

This git repository helps you get up and running quickly w/ a Sinatra installation on OpenShift.

Running on OpenShift

Create an account at http://openshift.redhat.com/

Create a ruby-1.8 application

rhc app create -a sinatra -t ruby-1.8

Add this upstream sinatra repo

cd sinatra
git remote add upstream -m master git://github.com/openshift/sinatra-example.git
git pull -s recursive -X theirs upstream master

Then push the repo upstream

git push

That's it, you can now checkout your application at:

http://sinatra-$yournamespace.rhcloud.com
Something went wrong with that request. Please try again.