Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added instructions for adding collaborator and service hook to github…

… project.
  • Loading branch information...
commit c6a2b0a3b0b35bf2144b5df59d5a3e70357b0af8 1 parent 93d6f07
@opsb authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 lib/heroku/commands/zenslap.rb
View
10 lib/heroku/commands/zenslap.rb
@@ -6,6 +6,10 @@ class Zenslap < Base
ZENSLAP_HEROKU_USER = "admin@zenslap.me"
ZENSLAP_ADDON = "zenslap2"
+ def display(message)
+ puts "---> #{message}"
+ end
+
def display_error(message)
puts "---! #{message}"
end
@@ -28,7 +32,11 @@ def create
puts "---> Configuring zenslap"
ZenslapClient.configure( zenslap_id, git_repo.github_owner, git_repo.github_name, git_repo.github_credentials, heroku_app )
- puts "---> You're all set up. Next time you push to github everything will get tested."
+ puts "---> Nearly there, you just need to do add a couple of things on github"
+ puts " 1) Add 'zenslap' as a collaborator"
+ puts " 2) Add 'http://zenslap.me/pushes' to the service hooks"
+ puts
+ puts "---> Once you've done that you'll be ready to go"
rescue ConsoleError => e
display_error e
Please sign in to comment.
Something went wrong with that request. Please try again.