Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move heroku scroll into active set

  • Loading branch information...
commit 62d938dd5c03be3d7b647fb52fbbc4f18b121647 1 parent b3c4d85
@drnic authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 scrolls/{zzz → }/heroku.rb
View
10 scrolls/zzz/heroku.rb → scrolls/heroku.rb
@@ -1,8 +1,12 @@
heroku_name = app_name.gsub('_','')
+if scroll? "redis"
+ # ensure that a redis service (redistogo) used
+end
+
after_everything do
if config['create']
- say_wizard "Creating Heroku app '#{heroku_name}.heroku.com'"
+ say_wizard "Creating Heroku app '#{heroku_name}.herokuapp.com'"
while !system("heroku create #{heroku_name}")
heroku_name = ask_wizard("What do you want to call your app? ")
end
@@ -34,8 +38,8 @@
description: Create Heroku application and instantly deploy.
author: mbleigh
-requires: [git]
-run_after: [git]
+requires: [git, procfile]
+run_after: [git, procfile]
exclusive: deployment
category: deployment
tags: [provider]
Please sign in to comment.
Something went wrong with that request. Please try again.