- Install Nodejs / npm. I recomment using nvm https://github.com/creationix/nvm
- Install Ruby (rbenv install only https://gorails.com/setup/ubuntu/14.04#ruby-rbenv)
- Install Bundler
gem install bundler
- Clone repo
- Install ruby gems using bundler
cd <cloned repo>
bundle install
- Install Node packages
npm install
grunt --static=static_files/
- default - Watches directories for changes, compiles less/sass, and minifies css/js.
- cleanAll - Deletes all the css and minified js files.
- cleanCss - Deletes the css files.
- cleanJsMin - Deletes the minified js files.
- buildAll - Same as default plus it deletes the non-minified css files.
The static option is the base directory where you store your less, sass, css, and js files. This script expects the directory structure shown below.
<static dir>
├── css
│ ├── blah.css
│ └── blah.min.css
├── js
│ ├── blah.js
│ └── blah.min.js
├── less
│ └── blah.less
└── sass
└── blah.scss