BASE
A barebones personal framework.
Sass:
1. Install$ sudo gem install sass
To check if Sass is already installed type $ sass -v
in Terminal to check version.
To watch Sass with source maps and compressed style, in Terminal, type:
$ sass --watch sass:css --style compressed
To just compile Sass with compressed style, in Terminal, type:
$ sass --update sass:css --style compressed
Or continue below and don't worry about the above command.
Node.js:
2. InstallTo check if Node.js is already installed type $ npm -v
in Terminal to check version.
Gulp Globally:
3. Install$ sudo npm install -g gulp
To check if Gulp is already installed type $ gulp -v
in Terminal to check version.
5. Install all Gulp dependencies:
$ sudo npm install
See gulpfile.js var imports to see individual task dependencies
Prospectively, to install individual tasks: $ sudo npm install --save-dev <task>
6. Run Gulp:
$ gulp
^^^ The default task will run.
To run individual tasks, use $ gulp <task> <othertask>
Production-ready Gulp command: $ gulp prod