/openshift-rails-example

Rails quickstart application for deployment on openshift

Primary LanguageRuby

Rails Sample App on OpenShift

Quickstart rails application for openshift.

Running on OpenShift

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

Create a rails application

rhc app create -a railsapp -t ruby-1.8

Add mysql support to your application

rhc app cartridge add -a railsapp -c mysql-5.1

Add this upstream rails quickstart repo

cd railsapp
git remote add upstream -m master git@github.com:openshift/rails-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://railsapp-$yournamespace.rhcloud.com