skgtech.github.io
skgtech.github.io copied to clipboard
A vibrant community of developers, designers, product people and entrepreneurs.
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.
For Web Developers
If you want to contribute to the development of this site you first need to setup your environment based on the project's requirements.
The Stack
- Node
- Ruby If you're on OS X or Linux you probably already have Ruby installed; test with
ruby -vin 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.
Installing the project
First fork this repository and clone it to your local:
git clone [email protected]: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.
Working with the project
jekyll serve
The default gulp task will:
- Browserify the required modules.
- Build
sassand 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_appand producesassets/js/app.jsgulp jekyll-build: Builds jekyllgulp sass: Builds sass sources, adds source comments and produces_site/css/style.cssandcss/style.cssfiles.
Assets and pages locations
- Edit styles inside
_sass/folder./css/style.cssis auto generated and injected by BrowserSync. - The project's homepage is the file
index.htmlin the root folder. - All the site's data are in the
_data/folder.
Deploy
- Generated styles and scripts must be committed.
- Use
npm run browserifyto generate a production build - Anything merged on
masterbranch automatically gets deployed by GitHub Pages.
