SKGTech is a non profit organization based in Thessaloniki, Greece. The organization is comprised of creative and passionate people that love all the things revolving around technology.
If you want to contribute to the development of this site you first need to setup your environment based on the project's requirements.
- Node
- Ruby If you're on OS X or Linux you probably already have Ruby installed; test with
ruby -v
in your terminal. - Gulp
npm install -g gulp
- Jekyll
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:
- Browserify the required modules.
- Build
sass
and the Jekyll site. - Launch default Jekyll dev server with BrowserSync.
- Watch HTML/SASS/JS/YAML folders and rebuild and reload the site on your browser.
More specific tasks:
gulp browserify
: Browserifies whatever is in_app
and producesassets/js/app.js
gulp jekyll-build
: Builds jekyllgulp sass
: Builds sass sources, adds source comments and produces_site/css/style.css
andcss/style.css
files.
- Edit styles inside
_sass/
folder./css/style.css
is auto generated and injected by BrowserSync. - The project's homepage is the file
index.html
in the root folder. - All the site's data are in the
_data/
folder.
- Generated styles and scripts must be committed.
- Use
npm run browserify
to generate a production build - Anything merged on
master
branch automatically gets deployed by GitHub Pages.