Skip to content

Instantly share code, notes, and snippets.

@jendiamond
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save jendiamond/06a3b974071c3dfc67e4 to your computer and use it in GitHub Desktop.

Select an option

Save jendiamond/06a3b974071c3dfc67e4 to your computer and use it in GitHub Desktop.
la_rails_learners_upcoming_phases

Phase 3 - Add Bootstrap - Issue #3

"Bootstrap, a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development."

Bootstrap is a framework that makes it easy for a developer to create a nice design for a website or web application. There are predefined css classes for creating common components such as widgets, typography elements, lists, forms, and more. The framework also provides Javascript which makes it easy to create things like modals, popovers, scrollspies, accordions, and more. Their documentation is very thorough, providing example code for most, if not all of the components that Bootstrap provides. ~ Go Tea Leaf

Some possibly helpful Links:

bootstrap-sass is easy to drop into Rails with the asset pipeline.

In your Gemfile you need to add the bootstrap-sass gem, and ensure that the sass-rails gem is present - it is added to new Rails applications by default.

gem 'bootstrap-sass', '~> 3.3.4'
gem 'sass-rails', '>= 3.2'

bundle install and restart your server to make the files available through the pipeline.

Import Bootstrap styles in app/assets/stylesheets/application.scss:

// "bootstrap-sprockets" must be imported before "bootstrap" and "bootstrap/variables"

@import "bootstrap-sprockets";
@import "bootstrap";

Discuss:

app/assets/javascripts/application.js
//=


Phase - ? - Install Rspec & Cucumber - Issue #4

gem 'rspec-rails', '~> 3.2.1'

https://rubygems.org/gems/rspec-rails/versions/3.2.1

Some possibly helpful Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment