FANDOM


Octopress 2.0 Edit

write use existing octopress Edit

  • clone source branch to octopress folder
$ git clone -b source git@github.com:username/username.github.com.git octopress
  • cd /octopress folder, clone master to _deploy folder
$ cd octopress
$ git clone git@github.com:username/username.github.com.git _deploy 

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

write blog Edit

  • 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 yren.github.io
http://yren.github.io/