Skip to content

Instantly share code, notes, and snippets.

@uupaa
Last active December 10, 2015 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uupaa/4490523 to your computer and use it in GitHub Desktop.
Save uupaa/4490523 to your computer and use it in GitHub Desktop.
Heroku setup memo
- sing up
- install Heroku toolbelt
https://toolbelt.heroku.com/
%> heroku version
heroku-toolbelt/2.33.5 (x86_64-darwin10.8.0) ruby/1.9.3
%> heroku login
Enter your Heroku credentials.
Email:
Password (typing will be hidden):
- ~/.ssh/ 以下にある(どの)公開鍵に使うか尋ねてきます
Found the following SSH public keys:
1) id_rsa.pub
2) id_rsa_xxxxxx.pub
Which would you like to use with your Heroku account? 1 ← id_ras.pub を選択
Uploading SSH public key ~/.ssh/id_rsa.pub... done
Authentication successful.
- 以下の指示に従いサンプルを上げてみるもよし
%> git clone git://github.com/heroku/ruby-sample.git
%> cd ruby-sample
%> heroku create
%> git push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment