Octopress

From KevinWiki

Revision as of 17:33, 28 June 2013 by Kevin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
Personal tools