Skip to content

Bertrand-Bichat/rails-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails 5.2 Templates

Minimal

Get a minimal rails app ready to be deployed on Heroku (Procfile + app.json) with Bootstrap + Stimulus + Simple form + debugging gems + N+1 queries gems + custom navbar + custom footer + custom layout + YAML files for French translation of flashes + robots.txt file configured to not index all the website

rails new \
  --database postgresql \
  --webpack \
  -m https://raw.githubusercontent.com/Bertrand-Bichat/rails-templates/master/minimal.rb \
  YOUR_APP_NAME

Devise

Same as minimal plus a Devise install with a generated User model + Pundit authorization gem + all Devise views with French text and better CSS + custom controllers (app. and pages) + custom seeds.

rails new \
  --database postgresql \
  --webpack \
  -m https://raw.githubusercontent.com/Bertrand-Bichat/rails-templates/master/devise.rb \
  YOUR_APP_NAME

API

Get an API rails backend ready to be deployed on Heroku.

rails new \
  --database postgresql \
  --api \
  -m https://raw.githubusercontent.com/Bertrand-Bichat/rails-templates/master/api.rb \
  YOUR_APP_NAME