- Run
$ chmod 755 install.sh && ./install.sh YOUR_THEME_NAME
. - Start creating your theme.
- Follow Grunt installation instrunctions here http://gruntjs.com/getting-started
- Then install pngquant to optimize images. (
brew install pngquant
). - Run
grunt watch
to listen for changes in JavaScripts, SASS/Compass and Images.
Grunt is configured to concatinate all javascripts under javascripts/custom
into javascripts/scripts.js
and then minify that file into javascripts/scripts.min.js
.
The standard directory structure of a compass init
command is used. Folders sass
for scss-files stylesheets
for css-files. Additional folder is fonts
.
Images that will be optimzed are stored under images/dist
and the optimized versions are saved to images/src
.