Prerequisites:
1. Git installed
2. Use rbenv or RVM to install Ruby 1.9.3 or later
3. A supported JavaScript runtime environment with EXECJS installed
First, install the octopress
1 git clone git://github.com/imathis/octopress.git octopress2 cd octopress
Second, installation dependence
1 Install bundler 2 Install
Encounter problems
Gem::remotefetcher::fetcherror:errno::econnreset:connection Reset by Peer-ssl_connect (https://rubygems.org/gems/ Tilt-2.0.1.gem)
An error occurred while installing Tilt (2.0.1), and bundler cannot continue.
Make sure that ' gem install tilt-v ' 2.0.1 ' succeeds before bundling.
Installing tilt
Install ' 2.0.1 '
Execute again
Install
Encounter problems
Gem::remotefetcher::fetcherror:errno::econnreset:connection Reset by Peer-ssl_connect (https://rubygems.org/gems/ Jekyll-watch-1.2.1.gem)
An error occurred while installing Jekyll-watch (1.2.1), and bundler cannot continue.
Make sure that ' gem install jekyll-watch-v ' 1.2.1 ' succeeds before bundling.
Installing tilt
Gem install jekyll-watch-v ' 1.2.1 '
Execute again
Bundle Install
Third, install the default octopress theme
Install
Iv. deployment
Deploy on the Heroku
Installing Heroku
Install Heroku
Create Heroku App
Heroku Create
Publish to Heroku
1 Rake Generate 2 git Add. 3 ' Site Updated ' 4 git push Heroku Master
Octopress's MAC Edition environment configuration