Getting Started with Heroku


Last Updated: 21 December 2011

getting started overview quick start

Table of Contents

·        Step 1: Sign-Up

·        Step 2: Install the Heroku Toolbelt

·        Step 3: Login

·        Step 4: Deploy An Application

Heroku is a polyglot cloud application platform. With Heroku, you don’t need to think about servers at all. You can write apps in the programming language of your choice, back it with add-on resources such as SQL and NoSQL databases,Memcached, and many others. You manage your app using the Heroku command-line tool and you deploy code using the Git revision control system, all running on the powerful Heroku infrastructure.

Let’s get started.

Step 1: Sign-Up

Sign-up for a Heroku account, if you don’t already have one.

Step 2: Install the Heroku Toolbelt

If you have...

Install with...

Mac OS X

Download OS X package

Windows

Download Windows .exe installer

Ubuntu Linux

apt-get repository

Other

Tarball (add contents to your $PATH)

Step 3: Login

After installing the Toolbelt, you’ll have access to the heroku command from your command shell. Log in using the email address and password you used when creating your Heroku account:

$ heroku login

Enter your Heroku credentials.

Email: [email protected]

Password:

Could not find an existing public key.

Would you like to generate one? [Yn]

Generating new SSH public key.

Uploading ssh public key /Users/adam/.ssh/id_rsa.pub

Press enter at the prompt to upload your existing ssh key or create a new one, used for pushing code later on.

Step 4: Deploy An Application

Choose from the following getting started tutorials to learn how to deploy your first application using a supported language or framework:

Clojure

Play!

Django

Python

Facebook

Ruby or Rails

Java or Spring

Scala

Node.js

 

 

你可能感兴趣的:(Getting Started with Heroku)