A starter project including full setup for Jekyll, GulpJS, Bootstrap 3.x, JavaScript & BrowserSync.
To use this starter project, you'll need the following things installed on your machine.
- Jekyll -
$ gem install jekyll
- Yarn - use the installer.
- GulpJS -
$ yarn global add gulp
(mac users may need sudo)
Install the following dependencies as a minimum requirement:
- Sourcemaps
- Sourcemaps Support
- Autoprefixer
- Gulp Sass
- BrowserSync
- Concat
- Uglify
- Rename
- Sass Lint
- Clone this repo, or download it into a directory of your choice.
- Inside the directory, run
yarn
. - Install required dependencies (see above).
If you're more familiar with NPM, see this Yarn cheatsheet for the equivalent commands.
Add your custom styles in _scss/main.scss
Add your custom scripts in _js/scripts.js
Add your visual assets (jpg, png, svg, etc.) in assets folder
Development mode
To run the tasks: (file watching, browser sync, auto-rebuild, CSS and JS injecting)
$ gulp
Jekyll
Visit Jekyll docs
- Add support for SVG Sprites
- Add support for Async JavaScript
- Move Gulp Tasks in separate folder