Skip to content

apod/rails_basic_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Rails basic template

A Rails 4 basic template.

Process

  1. Application configuration with figaro
  2. Add database.yml and application.yml to .gitignore
  3. Create database.example.yml and application.example.yml based on the default files
  4. Configure minitest-rails
  5. Use turn's dot format for test results
  6. Generators configuration: use spec format for minitest and don't generate assets and helpers
  7. Slim as the default template engine (using slim-rails)
  • Remove application.html.erb and create application.html.slim
  • Pretty html output on development (Slim::Engine.set_default_options pretty: true)
  1. Development goodies

Usage

rails new my_app -d postgresql -T -m https://raw.github.com/apod/rails_basic_template/master/template.rb

About

Rails 4 basic template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages