-
Notifications
You must be signed in to change notification settings - Fork 451
/
Copy pathcreate_a_heroku_account.step
50 lines (35 loc) · 1.79 KB
/
create_a_heroku_account.step
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
48
49
50
message "We'll be using Heroku to put our apps online because it's simple and free for the tier we'll be needing."
step "Visit the Heroku web site" do
url "http://heroku.com"
end
step "Create an account" do
message "Click the big **Sign Up** button (it's about halfway down the page)"
message "Enter your email address."
important "Use the same email address for heroku, git, github, and ssh. Be sure to use an email account you can log into immediately."
end
step "Activate your account" do
message "Heroku will send you an activation email. Open it and click on the activation link. It will take you to the Heroku site. Enter and confirm your password. Hit Save."
end
step "Install the Heroku toolbelt" do
message "Visit https://toolbelt.heroku.com/, click the download link, and install."
verify do
console "heroku version"
fuzzy_result <<-TEXT
heroku-toolbelt/{FUZZY}3.30.6 (x86_64-darwin10.8.0) ruby/1.9.3{/FUZZY}
{FUZZY}You have no installed plugins.{/FUZZY}
TEXT
end
message "Windows users, if `heroku version` doesn't work, open a new terminal window after the heroku installer has finished."
end
step "Add your SSH key to your Heroku account" do
console "heroku keys:add"
message "Enter your Heroku email and password."
console "Found an SSH public key at /Users/[your_name]/.ssh/id_rsa.pub
Would you like to upload it to Heroku?"
message "Enter `Y` for Yes"
end
section 'Optional Step: Create a GitHub account' do
message "Since by now you should have both Git and an SSH key, you can optionally [Create a Github account](create_a_github_account) to share code with your friends."
message "You don't need a GitHub account to complete the InstallFest, or the Intro To Rails, Job Board, or Message Board courses."
end
next_step "create_a_rails_app"