apod / rails_basic_template

Rails 4 basic template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Ruby 100.0%