(1)注册github
(2)开通Github Pages,创建技术博客
(2.1)Repository name:youname.
github.io
(2.2)进入自动页面生成器
参考文章:http://blog.youkuaiyun.com/renfufei/article/details/37725057
(3)使用Jekyll
Jekyll是Github的其中一个作者用Ruby语言开发,服务依赖于Github,安装方法请参考Jekyll的文档
如果你第一次使用Ruby,在使用gem安装插件的时候你会非常痛苦,因为某些原因gem网站被墙导致传输的数据一直丢包,解决办法是删除原来的源改用淘宝国内镜像,具体方法请参考:http://ruby.taobao.org
参考文章:http://www.kafeitu.me/blog/2012/03/21/move-to-github.html
(4)windows下安装ruby
(4.1)下载安装包

(4.2)勾选Add Ruby execuables to your PATH

(4.3)cmd检查是否安装ok

(4.4)编写ruby ,请输入
irb

(5)删除原来的源改用淘宝国内镜像

(6)安装jekyll
安装的过程中会遇到一个错误:
ERROR: Error installing watir:
The 'ffi' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
解决办法:
(1)下载develop-kit
http://rubyinstaller.org/downloads/

下载

(2)安装

(7)安装jekyll
gem install jekyll

(8)测试jekyll

该休息了~待续