Created
November 30, 2011 23:56
-
-
Save jamiew/1412040 to your computer and use it in GitHub Desktop.
Make a new heroku app and install common addons
This file contains hidden or 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
#!/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