This is my blog site's source.
Here is setup guide.
\curl -sSL https://get.rvm.io | bash -s stable
source /home/zhenkyle/.rvm/scripts/rvm
rvm install ruby
rvm list
rvm use ruby
[ubuntu] sudo apt-get install git
[osx] brew install git
nodejs & npm is needed by foundation 5
[ubuntu] sudo apt-get install nodejs
[ubuntu] sudo apt-get install npm
[ubuntu] sudo ln -s /usr/bin/nodejs /usr/bin/node
[ubuntu] sudo npm install -g bower grunt-cli
[osx] brew install node
[osx] brew install npm
[osx] npm install -g bower grunt-cli
I use bundler to manager jekyll and foundation version
gem update --system
gem update
gem install bundler
git clone [email protected]:zhenkyle/myblog.git
cd myblog
npm install
bower install
bundle install --binstubs
bin/jekyll -v #2.0.3
bin/foundation version #1.0.4
build scss and watch for change
grunt
in another console, start jekyll serve and watch for change
jekyll serve -w
I use git user Page to deploy, here are two simple rake tasks.
rake setup
rake deploy