Octopress

Octopress 2.0

 * http://octopress.org/docs/ - docs

write use existing octopress

 * http://blog.zerosharp.com/clone-your-octopress-to-blog-from-two-places/

$ git clone -b source git@github.com:username/username.github.com.git octopress
 * clone source branch to octopress folder

$ cd octopress $ git clone git@github.com:username/username.github.com.git _deploy $ gem install bundler $ bundle install
 * cd /octopress folder, clone master to _deploy folder
 * run the rake installation to configure everything

write blog
rake new_post["post name"]
 * rake new_post


 * edit the content with markdown

rake generate rake preview
 * rake generate, rake preview

git commit -m "minor change". git push origin source
 * git commit, push source

rake deploy
 * rake deploy

http://yren.github.io/
 * view change on yren.github.io