$ rails new rails-example --skip-test-unit
$ cd rails-example
config/routes.rb
:
root 'welcome#index'
$ rails generate controller welcome index
Gemfile
:
gem 'therubyracer', platforms: :ruby
gem 'twitter-bootswatch-rails'
gem 'twitter-bootswatch-rails-helpers'
$ rails generate bootswatch:install yeti
$ rails generate bootswatch:import yeti --force
$ rails generate bootswatch:layout yeti
app/assets/javascripts/application.js
:
//= require yeti/loader
//= require yeti/bootswatch
app/assets/stylesheets/application.css
:
*= require yeti/loader
*= require yeti/bootswatch
app/assets/stylesheets/yeti/variables.less
:
@zindex-modal-background: 0;
app/views/layouts/application.html.erb
:
app/views/layouts/_navbar.html.erb
: