Recreate a Local Repository of Octopress Blog
Recreating a local Octopress repository
To recreate the local directory structure of an existing Octopress blog, follow these instructions.
Clone your blog to the new machine
First you need to clone the source branch to the local octopress folder.
1
|
|
Then clone the master branch to the _deploy subfolder.
1 2 |
|
Then run the rake installation to configure everything
1 2 3 4 |
|
Pushing changes from two different machines
If you want to blog from more than one computer, you need to make sure that you push everything before switching computers. From the first machine do the following whenever you’ve made changes:
1 2 3 4 5 |
|
Then on the other machine, you need to pull those changes.
1 2 3 4 |
|