Octopress's MAC Edition environment configuration

Source: Internet
Author: User
Tags connection reset

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.