Skip to content

christianhellsten/ruby-web-application-boilerplate

Repository files navigation

Ruby+Roda Boilerplate

This Ruby web application is built using the following technologies:

  • Ruby
  • Roda (web framework)
  • Docker (deployment)
  • Picnic CSS (CSS framework)
  • Capybara (acceptance testing)

Use it as a starter kit for your web applications and or REST APIs.

Screenshots

Desktop Desktop

Mobile Mobile

Running the application with Docker

Development

$ docker build -t roda-boilerplate-dev .
$ docker run -t -v $(pwd):/app -p 80:3000 roda-boilerplate-dev

Test

$ docker build -f Dockerfile.test -t roda-boilerplate-test .
$ docker run -v $(pwd):/app roda-boilerplate-test

Production

$ docker build -f Dockerfile.prod -t roda-boilerplate .
$ docker run -p 80:3000 roda-boilerplate

Running the application without Docker

$ brew install ruby
$ gem install foreman
$ bundle
$ PORT=3000 RACK_ENV=development foreman start web

Documentation