Today, I install Octopress, it is wonderful.
I follow the official docs
setup
deploy
config
blogging
and the other two blogs:
Octopress介绍与安装
使用Octopress将博客从wordpress迁移到GitHub上
The following command is in common use(in the project root directory):
rake new_post["title"]
rake new_page[super-awesome]
rake new_page[super-awesome/page.html]
rake preview
rake generate
rake deploy
git add .
git commit -m 'your message'
git push origin source
Add a about page
rake new_page[about]
Then I modify main navigation, editsource/_includes/custom/navigation.html
<ul class="main-navigation">
<li><a href="{{ root_url }}/">Blog</a></li>
<li><a href="{{ root_url }}/blog/archives">Archives</a></li>
<li><a href="{{ root_url }}/about">About</a></li>
</ul>
Also see theme/template