My portfolio / blog (mstrutt.co.uk), built using the Jekyll static site generator.
This project requires an environment with ruby and node with npm.
This project relies on the global installation of the ruby gem jekyll and the npm package grunt-cli
npm install
npm install -g grunt-cli
gem install jekyll
grunt - Alias for grunt servegrunt build - Compiles source files, then jekyll generates static site into the build folder, grunt dist - Builds, then adds in asset minification & legacy stylesheet into the dist foldergrunt serve - triggers a grunt build then starts a connect server in the build folder, watches for changes to rebuildgrunt serve:dist - targets the dist folder instead of buildgrunt test - runs tests (currently just an alias for eslint)grunt build:prep - Cleans the .tmp and build folders, then copies the basic app into .tmpgrunt build:css - Compile Sass into CSS and automatically adds the right vendor prefixesgrunt build:minify - Minifies all CSS and JavaScript, switches html to use minified sourcegrunt match_media - Generate legacy stylesheetFor a full list of tasks registered for this project, run grunt --help