rehmpke / register

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KCC Site Startup Template

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

Development of the new KCC website based off of design mockups and using open source technologies.

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/KankakeeCommunityCollege/kcc-startup-template.git <project name>
$ cd <project name>
$ sh install.sh

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

About


Languages

Language:HTML 52.4%Language:CSS 34.8%Language:JavaScript 12.5%Language:Shell 0.3%Language:Ruby 0.0%