Skip to content

takp/rails5-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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