Steven's Blog

A Dream Land of Peace!


When you want to clone a octopress blog from the github to a machine and then enabled to publish posts from the cloned repo, you can follow the following steps:

  •   git clone -b source octopress
  •   cd octopress
  •   git clone _deploy
  •   sudo gem install bundler
  •   bundle install
  •   bundle exec rake “new_post[“The Title of Your Article”]”
  •   bundle exec rake generate
  •   bundle exec rake preview
  •   bundle exec rake deploy
  •   git add .
  •   git commit -m ‘your comment’
  •   git push origin source