Sample Rails3.1 Application Cloud Foundry Deployable
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
public
script
spec
vendor
.gitignore
Gemfile
Gemfile.lock
README.textile
Rakefile
config.ru

README.textile

Sample Rails3.1 Application Cloud Foundry Deployable
Sample URL: http://rails-31.cloudfoundry.com/

How to deploy to cloud foundry.

git clone git@github.com:hamakn/rails_3_1_cloudfoundry.git
cd rails_3_1_cloudfoundry

RAILS_ENV=production bundle exec rake assets:precompile

vmc target api.cloudfoundry.com
vmc push <appname>
# Would you like to bind any services to '<appname>'? [yN]: y
# Would you like to use an existing provisioned service [yN]? N
# The following system services are available:
# 1. mongodb
# 2. mysql
# 3. postgresql
# 4. rabbitmq
# 5. redis
# Please select one you wish to provision: 2