BAD Boilerplate
This is a boilerplate BAD design uses for all its websites
Local computer setup (for Grunt/Sass)
- Install nodejs (http://nodejs.org).
- Install Ruby (http://rubyinstaller.org). Be sure to check the checkbox "Add Ruby executable to your PATH".
- Restart your computer.
- Run the following commands in Command Prompt with administrator priviledges:
npm install -g grunt-cli
and gem install sass
How to use Grunt
- Open your command window and
cd
to your project directory
- Type
grunt
and hit enter. The default task should execute, compiling your Sass and starting the Watch task. You will need to have this running whenever you work on a project.
- Code away!
Grunt TODO
- Modernizr task
- Toasts
- Image optimization task
- Other optimization