Octopress 2.0

write use existing octopress

  • clone source branch to octopress folder
$ git clone -b source octopress
  • cd /octopress folder, clone master to _deploy folder
$ cd octopress
$ git clone _deploy 

  • run the rake installation to configure everything
$ gem install bundler
$ bundle install

write blog

  • rake new_post
rake new_post["post name"]
  • edit the content with markdown
  • rake generate, rake preview
rake generate
rake preview
  • git commit , push source
git commit -m "minor change" .
git push origin source
  • rake deploy
rake deploy
  • view change on
Community content is available under CC-BY-SA unless otherwise noted.