Created
July 29, 2011 16:26
-
-
Save tell-k/1114170 to your computer and use it in GitHub Desktop.
install lokka+heroku part1
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
#!/bin/sh | |
######################################## | |
# easy install lokka on heroku for MacOS | |
# | |
# filename: herokka2.sh | |
# | |
# dependencies | |
# - heroku account | |
# - bash | |
# - git | |
# - yasashisa | |
# | |
# see also | |
# - http://lokka.org/ | |
# | |
# author: tell-k | |
# url: http://d.hatena.ne.jp/tell-k/ | |
######################################## | |
#set appname | |
if [ $1 ]; then | |
APPNAME=$1 | |
else | |
echo 'set heroku application name! ex) sh heroku_lokka_2.sh [application name]' | |
exit | |
fi | |
gem install heroku bundler | |
cd $APPNAME | |
heroku create $APPNAME | |
git push heroku master | |
heroku rake db:setup | |
heroku apps:open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment