If you want to contribute to the development of this site you first need to setup your environment based on the project's requirements.
ruby -v
in your terminal.npm install -g gulp
gem install jekyll
This project was built using Jekyll, you don't need to be familiar with these tools to do most of the tasks.
First fork this repository and clone it to your local:
git clone git@github.com:YOUR_USERNAME/skgtech.github.io.git
After cloning is finished you need to install the development dependencies:
npm install
node-sass build fails with specific version. Node v8.16.1 with default npm tested and working.
jekyll serve
The default gulp task will:
sass
and the Jekyll site.More specific tasks:
gulp browserify
: Browserifies whatever is in _app
and produces assets/js/app.js
gulp jekyll-build
: Builds jekyllgulp sass
: Builds sass sources, adds source comments and produces _site/css/style.css
and css/style.css
files._sass/
folder. /css/style.css
is auto generated and injected by BrowserSync.index.html
in the root folder._data/
folder.npm run browserify
to generate a production buildmaster
branch automatically gets deployed by GitHub Pages.