阿拉丁和灯

Thoughts, stories and ideas.



Github Pages And Jekyll Getting Started


With the commands below, I successfully created my Github page http://yijunwu.github.io:

yum install ruby  
yum -y install gcc ruby-devel rubygems  
gem install bundler  
gem install jekyll  
gem install nodejs
jekyll new yijunwu.github.io
cd yijunwu.github.io
jekyll serve  

You need gem install nodejs otherwise you'll get a "Could not find a JavaScript runtime" error.

After getting the files, commit the files to github repo, and then visit http://yijunwu.github.io, I can see the updated pages.

Themes

Next step would be change the theme for your site:
http://jekyllthemes.org/themes/singlepaged/

Reference

Using Jekyll with github pages
https://help.github.com/articles/using-jekyll-with-pages/

JekyllRb.com
http://jekyllrb.com/

Github user page
https://github.com/yijunwu

Github page introduciton
https://pages.github.com/



View or Post Comments