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: adam@example.com

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

 

 

转载于:https://my.oschina.net/lyr/blog/38127

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值