Skip to content

Instantly share code, notes, and snippets.

@jamiew
Created November 30, 2011 23:56
Show Gist options
  • Save jamiew/1412040 to your computer and use it in GitHub Desktop.
Save jamiew/1412040 to your computer and use it in GitHub Desktop.
Make a new heroku app and install common addons
#!/bin/sh
app="$1"
which -s heroku || (echo "no 'heroku' command. Try:\n\n\t gem install heroku" && exit 1)
heroku create $app
cd $app
heroku addons:add releases:basic
heroku addons:add memcached:5mb
heroku addons:add redis:nano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment