Octopress
From KevinWiki
(Difference between revisions)
Kevin (Talk | contribs)
(Created page with "Category:Weblog Software = Installation = == Octopress == <pre> $ git clone git://github.com/imathis/octopress.git octopress $ cd octopress $ sudo bundle install </pre> * ...")
Newer edit →
(Created page with "Category:Weblog Software = Installation = == Octopress == <pre> $ git clone git://github.com/imathis/octopress.git octopress $ cd octopress $ sudo bundle install </pre> * ...")
Newer edit →
Revision as of 17:33, 28 June 2013
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