- Follow guides here to install ruby for your OS
- Install Jekyll & Bundler:
gem install jekyll bundlerthenbundle install - Install NodeJS from http://nodejs.org
- Install GulpJS:
npm install -g gulp(mac may need sudo)
- Inside the parent directory:
npm install. - To build:
jekyll build - To serve to localhost:4000:
jekyll serve --livereload
Note: If step 2 or 3 fails, prepending bundle exec to the commands may solve the issue.
=================================================
===== jekyll-gulp-sass-browser-sync =====
=================================================
A project including full setup for Jekyll, GulpJS, SASS, AutoPrefixer & BrowserSync
To use this project, you'll need the following things installed on your machine.
- Ruby (v2.5.1p57)
- Jekyll -
$ gem install jekyll - Jekyll-Archives -
$ bundle install - NodeJS - use the installer (v6.5.0).
- GulpJS -
$ npm install -g gulp(mac users may need sudo)
- Inside the directory, run
npm install. - Enjoy
local development mode
This will give you file watching, browser synchronisation, auto-rebuild, CSS injecting etc etc.
$ ./runseeing drafts
$ ./run --drafts