- Generate a new rails app, but skip using spring, and tell it to use postgresql as the database
rails new bootstrap-rails --skip-spring -d postgresql
cd bootstrap-rails
atom Gemfile
gem 'haml-rails'
gem 'bootstrap-generators'
- Remove the entry that says
gem 'jbuilder'
bundle
-
For HAML with SCSS
rails generate bootstrap:install --template-engine=haml /bin/rm app/views/layouts/application.html.erb
-
For ERB with SCSS
rails generate bootstrap:install --stylesheet-engine=scss
spring stop
rails generate scaffold Term name definition author
rake db:create db:migrate db:seed