Andrija's Blog

Functional design

Migrating Octopress

Quick notes on how to migrate existing Octopress setup (version 2) to new environment.
Here, I am migrating from (now obsolete) to


  • clone source branch => git clone <url> --branch source <folder-name>
  • Check Ruby version. It should be 1.9.3
  • cd in Octopress work folder:
  • gem install bundler
  • bundle install

If not already set:
git config --global ""
git config --global "your\_userusername"

  • rake setup_github_pages
  • reset HEAD in _deploy folder:
    git fetch
    git reset --hard origin/master


  • rake generate
  • rake preview
  • rake deploy