imathis/octopress — Issue #359: Esablishing a working enviroment from clone
Author: bcomnes
Created: 2012-01-08 01:23:19+00:00
State: open

I was wondering what steps were needed to be taken in order to set up an established Octopress based blog on a new computer by cloning the repository where it is being hosted.

In my case, the blog I am trying to do this with is my github userpage (username.github.com). I am running into trouble cloning my github repository to a new computer, and establishing the remotes and orginis correctly for the rake deploy command to work.

The approach I took was to clone from my github repository (wich has the source branch used for working on the blog, and the master branch used for deploying the website using github pages) to a new computer, check out the source branch from the remote, remove the master branch locally. After making changes, and trying to use `rake deploy`, it ran into errors and it was clear that I had not configured my branches locally correctly.

Simply making a copy off the computer that the blog was established on works, but I think it is important to know how to re-establish a working octopress environment off of my github repository. Can anyone layout the correct procedure for doing that? Maybe some documentation about how to re-establish off of the hosted repository in different situations would be a useful addition.