This is Rails Application Template.
rails new app_name -m path/to/rails_slim_template.rb
alias rnew='rails new$1 -m https://github.com/yoshiko-pg/rails_slim_template/raw/master/rails_slim_template.rb'
rnew app_name
- app/views/layouts/application.html.erb -> application.html.slim
- test/ -> spec/
- git initial commit, add remote repo
- heroku create, push
- bundle exec guard init rspec
- bundle exec guard init spring
- bundle exec spring binstub rspec
- rails generate rspec:install
- rails generate rails_config:install
config.active_record.default_timezone = :local
config.time_zone = 'Tokyo'
config.i18n.default_locale = :ja
config.generators do |g|
g.template_engine = :slim
g.test_framework = :rspec
g.integration_tool = :rspec
g.fixture_replacement :factory_girl
g.stylesheets = false
g.javascripts = false
g.helper = false
end
http://qiita.com/fakestarbaby/items/01c46a273725d0a48b36
http://qiita.com/yukimaru@github/items/861ac36cef615d3eb467