Slash主题的安装
安装
$ cd octopress
$ git clone git://github.com/tommy351/Octopress-Theme-Slash.git .themes/slash
$ rake install['slash']
$ rake generate
安装
$ cd octopress
$ git clone git://github.com/tommy351/Octopress-Theme-Slash.git .themes/slash
$ rake install['slash']
$ rake generate
1.安装Ruby
curl -L https://get.rvm.io | bash -s stable --ruby
Install Ruby 1.9.3
rvm install 1.9.3
rvm use 1.9.3
rvm rubygems latest
如果出现红色缺少的类库,请sudo apt-get install 安装
2.设置 Octopress
git clone git://github.com/imathis/octopress.git octopress
cd octopress
ruby --version # Should report Ruby 1.9.3
gem install bundler
bundle install
rake install #Install the default Octopress theme
Read on →