josedrac / sass-bootstrap

SASS Bootstrap - Sassy CSS / Compass Port of Twitter Bootstrap

Home Page:http://alademann.github.io/sass-bootstrap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sass Bootstrap v3.0.17

Sass Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by Mark Otto and Jacob Thornton, and ported to Sass/Compass by Aaron Lademann.

To get started, check out the SASS Bootstrap Documentation!

Quick start

Three quick start options are available:

  • Download the latest release.
  • Clone the repo: $ git clone git://github.com/alademann/sass-bootstrap.git.
  • Install with Bower: bower install sass-bootstrap-compass.

Read the Getting Started page for information on the framework contents, templates, examples and more.

Bugs and feature requests

Have a bug or a feature request? Please open a new issue. Before opening any issue, please search for existing issues and read the Issue Guidelines, written by Nicolas Gallagher.

You may use this JS Bin as a template for your bug reports.

Documentation

SASS Bootstrap's docs are built using Jekyll and hosted on GitHub Pages. To view the Sass Bootstrap Docs locally, you'll need to install Jekyll to run a local server.

Running Jekyll Docs locally alongside Sass / Compass

  1. If necessary, install Jekyll (requires v1.x).
  2. Install Sass and Compass by running gem install sass && gem install compass. (may have to use admin priveledges)
  3. Install Grunt dependencies by running npm install -g grunt-cli && npm install. (may have to use admin priveledges)
  4. Run grunt dev - and everything will compile, and be watched... complete with Live Reload functionality! (Requires browser extensions)
  5. Open http://localhost:9001 in your browser, and voila.

Install Grunt

Sass Bootstrap uses Grunt with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run some Grunt commands.

From the command line:

  1. Install grunt-cli globally with npm install -g grunt-cli.
  2. Install the necessary local dependencies via npm install

When completed, you'll be able to run the various Grunt commands provided from the command line.

Unfamiliar with npm? Don't have node installed? That's a-okay. npm stands for node packaged modules and is a way to manage development dependencies through node.js. Download and install node.js before proceeding.

Available Grunt commands

Build - grunt

Run grunt to run js tests locally and compile the CSS and JavaScript into /dist.

Only compile CSS and JavaScript - grunt dist

grunt dist creates the /dist directory with compiled files.

Tests - grunt test

Runs JSHint and QUnit tests headlessly in PhantomJS (used for CI).

Watch - grunt dev

This is a convenience method that watches all the assets required to run the documentation locally, and will recompile when you save any HTML / SCSS / JS file. Will also automatically refresh your browser if you install the LiveReload browser extension.

Troubleshooting dependencies

Should you encounter problems with installing dependencies or running Grunt commands, uninstall all previous dependency versions (global and local). Then, rerun npm install.

Contributing

Please submit all pull requests against *sass-wip branches. If your pull request contains JavaScript patches or features, you must include relevant unit tests. All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.

Authors

Mark Otto

Jacob Thornton

Aaron Lademann

Copyright and license

Copyright 2013 Twitter, Inc and Aaron Lademann - under the Apache 2.0 license.

About

SASS Bootstrap - Sassy CSS / Compass Port of Twitter Bootstrap

http://alademann.github.io/sass-bootstrap

License:Apache License 2.0