Octopress
From KevinWiki
(Difference between revisions)
(Created page with "Category:Weblog Software = Installation = == Octopress == <pre> $ git clone git://github.com/imathis/octopress.git octopress $ cd octopress $ sudo bundle install </pre> * ...") |
|||
Line 1: | Line 1: | ||
- | [[Category:Weblog Software]] | + | [[Category:Weblog Software]][[Category:Ruby]] |
= Installation = | = Installation = | ||
== Octopress == | == Octopress == |
Latest revision as of 17:34, 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