首页 > 代码库 > Build Your Jekyll Blog (On Github)

Build Your Jekyll Blog (On Github)

http://kevinjmh.github.io/web/2014/04/20/build-your-jekyll-blog/

 20 April 2014

On GitHub

Follow the instructions on jekyllbootstrap

On Windows

Tutorial

Download rubyinstaller&DevKit

Run command in cmd:

gem install bundlergem install jekyll

Visit Local Site

Swich the dir to your site folder

Run command in cmd:

jekyll serve

jekyll serve --watch(自动更新,如出错请cmd运行gem install wdm)

Some Useage

rake post title="Hello World"rake page name="about.md"rake page name="pages/about.md"rake page name="pages/about"# this will create the file: ./pages/about/index.html

Build Your Jekyll Blog (On Github)