Ubuntu Install Heroku(Week I)

Advanced Software Engineering

The First Class

Part II

1 Sign up one Heroku account

2 Set up

    # Run this from your terminal:

    # Please ensure that you have Ruby installed.

    wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh

3 Login

    heroku login

image

4 Prepare the app

  git clone https://github.com/heroku/ruby-getting-started.git
  cd ruby-getting-started
5 Deploy the app
  heroku create
image
  git push herouku master
image
  heroku open
image
image

References:

[1]https://devcenter.heroku.com/articles/getting-started-with-ruby

[2]http://blog.csdn.net/berryreload/article/details/7180862

原文地址:https://www.cnblogs.com/moonseazj/p/4862779.html