Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Rails quickstart application for deployment on openshift
branch: master

Merge pull request #1 from openshift/master

Added mysql gems, database.yml logic, upgraded to rails 3.1.1
latest commit 850073c149
Grant Shipley authored
Failed to load latest commit information.
.openshift working out right place for db logic
app Rails openshift quickstart application
config Updating to rails 3.1.1, adding mysql env var usage to database.yml, …
db Rails openshift quickstart application
doc
lib/tasks Rails openshift quickstart application
public
script
test
vendor/plugins Rails openshift quickstart application
.gitignore add .project to .gitignore
Gemfile
Gemfile.lock
README Rails openshift quickstart application
README.md update readme
Rakefile Rails openshift quickstart application
config.ru Rails openshift quickstart application

README.md

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-create-app -a railsapp -t rack-1.1

Add mysql support to your application

rhc-ctl-app -a railsapp -e add-mysql-5.1

Add this upstream rails quickstart repo

cd railsapp
git remote add upstream -m master git://github.com/gshipley/rails-openshift-quickstart.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
Something went wrong with that request. Please try again.