Last active
November 23, 2015 22:33
-
-
Save robertSahm/7c15888284fdc6717638 to your computer and use it in GitHub Desktop.
Installing Libsass and Sassc and Bourbon and Neat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
are you sure that bourbon needs the .rb files since it's referencing libsass and being parsed by sassc? does your install fail if you install bourbon from gem? thanks in advance! -rb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing Libsass/Sassc/Bourbon/Neat
Install Libsass and Sassc:
Clone the two repos into /usr/local/lib:
Update both submodules and
make
:Do the same inside /sassc
Before you run
make
:Boo yah.
Install Bourbon and Neat:
Using the gem install method for bourbon doesn't give us the .rb files, so instead we're just going to navigate to [projectname]/src/sass/ then clone the bourbon repo there:
This should create a bourbon directory inside the sass directory with all the necessary scss and .rb files.
Using the gem install method or the method we used for Bourbon works for Neat:
Inside src/sass:
OR
NOTE:
neat install
only generates the .scss files, but it still seems work without the .rb files that come in with thegit pull
method. More investigation is needed here to find the best implimentation.Import Bourbon and Neat into the style.scss
Navigate to [projectname]/src/sass/
neat install
At the top of src/sass/style.scss, we're going to import Bourbon and Neat:
Set up LiveReload:
Set LiveReload to simply watch the directory src/css
Run the compiler:
sass --watch src/sass/style.scss:src/css/style.css
Watch it fly.
Sources
http://bourbon.io/docs/
http://thoughtbot.github.io/neat-docs/latest/
Install Bourbon video: http://vimeo.com/53607127
Install Neat video: http://vimeo.com/53607128
https://github.com/sass/sassc
https://github.com/sass/libsass