updating receiver for new start script

This commit is contained in:
Jeff Lindsay
2013-06-09 16:08:35 -07:00
parent 7183805508
commit 447ba5c291
3 changed files with 25 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
# Repository locations - set environment variables to override defaults
# e.g. OVERRIDE_DOKKU_REPO=https://github.com/yourusername/dokku.git bootstrap.sh
GITRECEIVE_URL=${GITRECEIVE_URL:-"https://raw.github.com/progrium/gitreceive/master/gitreceive"}
BUILDSTEP_REPO=${BUILDSTEP_REPO:-"https://github.com/progrium/buildstep.git"}
DOKKU_REPO=${DOKKU_REPO:-"https://github.com/progrium/dokku.git"}
# Docker and base dependencies
apt-get install -y linux-image-extra-`uname -r`
apt-get install -y software-properties-common
@@ -8,20 +14,20 @@ apt-get install -y git ruby nginx make
# gitreceive
cd /usr/local/bin
wget https://raw.github.com/progrium/gitreceive/master/gitreceive
wget ${GITRECEIVE_URL}
chmod +x gitreceive
gitreceive init
# buildstep
cd ~
git clone https://github.com/progrium/buildstep.git
git clone ${BUILDSTEP_REPO}
cd buildstep
cp buildstep /home/git/buildstep
make
# dokku (this!)
cd ~
git clone https://github.com/progrium/dokku.git
git clone ${DOKKU_REPO}
cd dokku
cp receiver /home/git/receiver
cp nginx-app-conf /home/git/nginx-app-conf