Skip to content

Commit

Permalink
added a bit of configuration for git
Browse files Browse the repository at this point in the history
  • Loading branch information
cromulus committed Nov 3, 2011
1 parent c368760 commit 8052156
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions headliner
Expand Up @@ -5,8 +5,15 @@ read INSTALL

if [ INSTALL = "y" ]; then
mkdir -p $PATH
echo "what is your name?, first and last please"
read NAME
git config --global user.name $NAME
echo "what is your headliner email address?"
read EMAIL
git config --global user.email $EMAIL
git clone git@github.com:Headlinerfm/headlinerlite.git $PATH/headlinerlite
cd $PATH/headlinerlite
git checkout dev
git submodule init
git submodule update
mysql -u root -h localhost -e "create database headlinerlite; grant all on headlinerlite.* to 'root'@'localhost'"
Expand All @@ -23,4 +30,7 @@ fi
echo "installing nginx, you'll thank us later."
bundle exec passenger-install-nginx-module --auto --auto-download

# [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub >> $PATH/headlinerlite/authorized_keys
# git commit authorized_keys -m "$NAME keys"
# git push origin dev
echo "all done for now. pester bill, and he'll put together your nginx config"

0 comments on commit 8052156

Please sign in to comment.