Development of the new KCC President's Search website based off of design mockups and using open source technologies.
- 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
$ git clone [email protected]:KankakeeCommunityCollege/president.git
$ cd president
$ sh install.sh
$ gulp
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
See the comments within gulpfile.js and gulpconfig.yml for detailed explanation of what happens on running $ gulp
or $ gulp --production