forked from heroku/legacy-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
48 lines (31 loc) · 1.42 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
= Heroku API - deploy apps to Heroku from the command line
This library wraps the REST API for managing and deploying Rails apps to the
Heroku platform. It can be called as a Ruby library, or invoked from the
command line. Code push and pull is done through Git.
For more about Heroku see http://heroku.com
For full documentation see http://heroku.com/docs
== Sample Workflows
Create a new Rails app and deploy it:
rails myapp
cd myapp
git init
git add .
git commit -m "init"
heroku create
git push heroku master
== Setup
gem install heroku
If you wish to push or pull code, you must also have a working install of Git
("apt-get install git-core" on Ubuntu or "port install git-core" on OS X), and
an ssh public key ("ssh-keygen -t rsa").
The first time you run a command, such as "heroku list," you will be prompted
for your Heroku username and password. These are saved to ~/heroku/credentials
for future requests. Your public key (~/.ssh/id_[rd]sa.pub) will be uploaded
to Heroku after you enter your credentials. Use heroku keys:add if you wish
to upload additional keys or specify a key in a non-standard location.
== Meta
Created by Adam Wiggins
Maintained by Pedro Belo
Patches contributed by: Chris O'Sullivan, Blake Mizerany, Ricardo Chimal, Les Hill, Ryan Tomayko and Sarah Mei
Released under the MIT license: http://www.opensource.org/licenses/mit-license.php
http://github.com/adamwiggins/heroku-client