From charlesreid1

Revision as of 06:42, 12 April 2014 by Admin (talk | contribs)

Treat this the same way you treat Jekyll:

1. Manually copy all the Octopress repository files into their own directory project/octopress/

2. Manually check out a copy of the gh-pages branch to _deploy inside the new Octopress directory (_deploy is the Octopress version of Jekyll's _site)

3. Make your posts, change your site, do whatever

4. bundle exec rake generate && bundle exec rake deploy to generate static HTML files for site in _deploy

5. When happy with static HTML site, cd project/octopress/_deploy && git add . && git commit -am "Updating gh-pages branch" && git push origin gh-pages

6. When happy with site changes, posts, etc., cd project/octopress && git add . && git commit -am "Updating octopress site source" && git push origin master