build jekyll on github
check gem version
- gem -v
- update Gem (sudo)
- gem update –system
jekyll
-
use gem install jekyll (sudo)
-
$ gem install jekyll
查詢jekyll 版本
$ jekyll -v
cd blog folder
jekyll build
jekyll serve
git page
push gh-pages branch
$ git checkout --orphan gh-pages
$ git push origin gh-pages