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 lite.nitrous.io (now obsolete) to pro.nitrous.io.

Steps

  • 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 user.email "name@example.com"
git config --global user.name "your\_userusername"

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

Try:

  • rake generate
  • rake preview
  • rake deploy