Demo deployment for Rails 3 app using jRuby and Torquebox
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
.ruby-gemset
.ruby-version
Gemfile
Gemfile.lock
README.md
README.rdoc
Rakefile
config.ru

README.md

Torquebox-Demo

Installation

Requires mysql database. Install dependencies with bundler, and create/migrate database schema with rake tasks:

$ bundle install
$ rake db:create
$ rake db:migrate

Deployment

$ RAILS_ENV=production rake db:create
$ RAILS_ENV=production rake db:migrate
$ RAILS_ENV=production rake assets:precompile
$ warble executable war
$ java -jar torquebox-demo.war