From KevinWiki
Installation
Octopress
$ git clone git://github.com/imathis/octopress.git octopress
$ cd octopress
$ sudo bundle install
- If this error occurs, make sure that ruby1.9.1-dev is installed.
An error occurred while installing RedCloth (4.2.9), and Bundler cannot
continue.
Make sure that `gem install RedCloth -v '4.2.9'` succeeds before bundling.
$ rake install
For github page
$ rake setup_github_pages
# Enter:
git@github.com:username/project.git
$ rake generate
$ rake deploy
- Add git repository for blog itself
$ git remote add origin (your repo url)
# set your new origin as the default branch
$ git config branch.master.remote origin