利用 Octopress 框架搭建自己的博客
- http://octopress.org/docs/
- https://github.com/happycasts/happycasts.github.com
- Update: 2014-6-9 上面的这个 repo 我又改用 jekyll,octopress 感觉还是麻烦
1. 安装配置
sudo apt-get update; sudo apt-get install gitcurl -L https://get.rvm.io | bash -s stable --rubygem install bundlerbundle install
2. 使用
安装 theme
rake install
新建博客和页面
rake new_post["hello"]rake new_page["about.markdown"]
一个工作循环:
编辑 -> 预览 -> rake gen_deploy -> 把 source 分支的修改 push 到 github