Created
January 30, 2012 22:08
-
-
Save jnunemaker/1707098 to your computer and use it in GitHub Desktop.
Simple script that shows how to create heroku app without command line client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'highline/import' | |
require 'heroku' | |
require 'pp' | |
email = ask('Email: ') | |
password = ask('Password: ') { |q| q.echo = false } | |
client = Heroku::Client.new(email, password) | |
pp client.create('<app name>', :stack => 'cedar') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment