Site Startup Template

Jekyll + Gulp + Sass + Yarn + BrowserSync + ...

Requirements

- Jekyll - `$ gem install jekyll bundler`
- Bundler - `$ gem install bundler`
- Nodejs - I recommend using NVM (Node Version Manager): https://github.com/creationix/nvm
- .nvmrc file in this repo will make NVM use Node v8.9.4 (to avoid compatibility issues)
	- Or, if you must - Use the Nodejs installer: https://nodejs.org/
- Gulp - `$ npm install --global gulp-cli` - mac users may need sudo

Installation

$ git clone https://github.com/wdzajicek/new-site-template.git
$ cd athletics-mockup
$ npm install		// May need to prefix command with sudo (if not using NVM)
$ bundle install

Development

$ gulp

Production

Production build minifies CSS and JavaScript and compresses image files.

A gulp production build should be run before committing and pushing any CSS, JS, or new images to the Github repository.

Trying to push non-minified CSS and JS may result in merge conflicts. If you have a merge conflict, especially on main.css or all.min.js, try running $ gulp --production before trying to push again

$ gulp --production

The gulpfile.js and gulpconfig.yml

See the comments within gulpfile.js and gulpconfig.yml for detailed explanation of what happens on running $ gulp or $ gulp --production