No description, website, or topics provided.
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.
db
lib
.gitignore
Gemfile
Gemfile.lock
Jarfile
Jarfile.lock
LICENSE.txt
Procfile
README.md
Rakefile
app.json
server.rb

README.md

Ratpack JRuby Example

An example of how to use the Ratpack web framework from JRuby.

Deploy

Local Setup

$ git clone https://github.com/jkutner/ratpack-jruby-example
$ cd ratpack-jruby-example
$ jgem install jbundler bundler
$ jbundle install
$ bundle install --binstubs
$ export DATABASE_URL="postgres://localhost:5432/ratpack"
$ bin/rake db:migrate
$ jruby server.rb

Heroku Setup

$ heroku create --addons heroku-postgresql
$ git push heroku master
$ heroku run rake db:migrate

License

Apache v2