A starter project including full setup for Jekyll, GulpJS, SASS, AutoPrefixer & BrowserSync
Here's a 1.5min screencast showing what you get.
And here's a GIF showing the CSS injecting.
To use this starter project, you'll need the following things installed on your machine.
- Jekyll -
$ gem install jekyll
- NodeJS - use the installer.
- GulpJS -
$ npm install -g gulp
(mac users may need sudo)
- Clone this repo, or download it into a directory of your choice.
- Inside the directory, run
npm install
.
development mode
This will give you file watching, browser synchronisation, auto-rebuild, CSS injecting etc etc.
$ gulp
jekyll
As this is just a Jekyll project, you can use any of the commands listed in their docs
This will create a gh-pages branch and push commit changes to branch
$ gulp deploy
- add analytics
- abstract css, js, images, and fonts from root folder
- add package manager
- add bin setup task