Skip to content

IamSreeman/IamSreeman.github.io

Repository files navigation

Hi, this a personal website related to me. It is an upgrade over my old site.

Development Install

Requires both ruby and devkit on Windows 7 x64 to install native extensions.

Ruby

Download ruby-2.1.3-x64-mingw32.7z from bintray. Download Latest DevKit from bintray Note: the version number should match closely what's on: https://pages.github.com/versions/

First time

me@devkit$ ruby dk.rb init
me@devkit$ edit config.yml # add ruby directory
me@devkit$ ruby dk.rb install
me@anywhere$ gem install bundler
me@website$ bundle install # takes about 5 minutes

In case of SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed follow these instructions. If there's the same SSL issue, for example when using jekyll-gist, then try this.

Run

me@windows$ unsubst bundle exec jekyll serve --config _config.yml,_config_local.yml,_config_dev.yml --trace --skip-initial-build --incremental
me@windows$ gradle serve dev noskip

Usage

Check if site build successfully before each commit

me@webiste$ gradle preCommitServe local

Upgrade