Steven's Blog

A Dream Land of Peace!

Clone Octopress From Github to Another Machine and Publish Posts

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 https://github.com/isunix/isunix.github.com octopress
  •   cd octopress
  •   git clone https://github.com/isunix/isunix.github.com _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