rails new mavelin --skip-active-record --skip-test-unit
Add dependencies
rails generate rspec:install
rails generate cucumber:install
rails g sorcery:install
rails g controller home
Add home page
Include react-rails
rails g react:install
Remove sorcery related files; Add devise
rails g devise:install

      create  config/initializers/devise.rb
      create  config/locales/devise.en.yml
Add notice and alert to layout
rails g devise user
Make user confirmable
Add puma
Switch to 4.2 compatible branch of devise
rails g devise:views
Presentational layer changes
rails g mongoid:config
Fix issues with login flow
Facilitate role selection when signing up