New version of the website using Jekyll, gulp, font-awesome and bootstrap
-
node (http://richardhsu.net/2013/10/19/installing-nodejs-npm-on-ubuntu-13-10/)
-
bower
-
gulp
-
jekyll
OR use Docker®
Warning
|
Livereload is slower on Mac |
Example usage:
gulp serve [options] Build and serve website on 3000 with livereload
gulp build [options] Build website on /public
gulp deploy [options] Build and deploy website on github/ghpages
gulp thumbnail-images Generate thumbnails for images in `app/images/posts`
gulp compress-images Generate thumbnails and compress all images in app/images
gulp lint-[styles|scripts|html] Lint files
Options:
--prod Minify, uglify, rev styles and scripts files
--drafts Show drafts
Tip
|
Run jekyll bin with docker |
usr/local/bin/jekyll
#!/bin/bash
docker run --rm -it -v $PWD:/src grahamc/jekyll $@