jekyll blog deploy github pages

document cn

Jekyll Introduction

sites using jekyll

github pages document

Host on GitHub in 3 Minutes

  1. Create a New Repository

    Go to your https://github.com and create a new repository named USERNAME.github.com

  1. install jekyll

    http://jekyllrb.com/

1
2
3
4
5
6
7
8
9
10
11
gem install jekyll
jekyll new my-awesome-site
cd my-awesome-site
jekyll serve
//Now browse to http://localhost:4000
cp my-awesome-site path/of/USERNAME.github.com
  1. Write .md file in _post dir
1
2
3
4
5
6
7
cd path/of/USERNAME.github.com
jekyll build
//auto create HTML file in _site dir
jekyll serve
//preview in port 4000

commit ur changes to github,visit USERNAME.github.io