Ruby on Rails 5 with HAML, SASS, CoffeeScript, Bootstrap, Devise, Rspec, Capybara
MIT License
After creating a dozen or so Ruby on Rails app, I realized I was using the same configuration over and over again. This boilerplate code is intended to simply save time building a Rails 5.0+ app.
You'll need to do a few things to get up-and-running. Here are a few items:
bundle install
config/database.yml
with a new database name.rails db:wipe
rails server:start
config/environments/development.rb
.ENV['SECRET_KEY_BASE']
Source
If you want to see an itemized list of modifications, I suggest reviewing the cliff notes within lib/tasks/app.rake
Destroy and rebuild the test database with test data
rails db:wipe RAILS_ENV=test --trace
Migrate the test database
rails db:migrate RAILS_ENV=test --trace
Simply populate the test database with seed data. This is the alternative to fixtures
.
rails db:seed RAILS_ENV=test --trace