Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.27 KB

README.md

File metadata and controls

68 lines (46 loc) · 1.27 KB

Rails5 Boilerplate

This is starter application template for Ruby on Rails 5.

Rails5 Boilerplate Top Page

Versions

  • Rails 5.2.1

Features

Architecture

MVC + Service + Decorator

  • Models: app/models
  • Views: app/views
  • Controllers: app/controllers
  • Services: app/services
  • Decorators: app/decorators

Quick Start

$ git clone git@github.com:takp/rails5-boilerplate.git
$ cd rails5-boilerplate

Run

  • Build
$ docker-compose build
  • Initialize database
$ docker-compose run app rake db:create
$ docker-compose run app rake db:migrate
  • Run
$ docker-compose up

and go to http://localhost:3000/.

How to run the test suite

$ bundle exec rspec

Deployment instructions