Setup an Existing Octopress Repository After Git Clone
It seems all the tutorial on Octopress deals with setting up a new repository.
Recently, I needed to clone the my Octopress repo on a new machine and
resume writing there. I thought it would be as simple as
rake new_post, and
However I encourtered the following during deploy
1 2 3 4 5 6 7 8 9 10
I googled around and found no solution.
After digging into the Rakefile, I came up with a manual fix.
Basically, you need to create and link the
deploy directory to
First, we clone the repo and switch to the correct branch:
1 2 3
Then we need to setup the
1 2 3 4
Done! Now we can make changes in
source branch and use
rake gen_deploy as usual.