From 0033c3a8cda9bac4b586e1e5843168bb8b24d1ca Mon Sep 17 00:00:00 2001 From: Richard North Date: Sun, 9 Jun 2013 18:26:59 +0100 Subject: [PATCH] Making repo location override variables shorter, simpler names for users. --- README.md | 4 ++-- bootstrap.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 863503cfe..17842b15d 100644 --- a/README.md +++ b/README.md @@ -16,14 +16,14 @@ This may take around 5 minutes. Certainly better than the several hours it takes ## Advanced installation (for development) The bootstrap script allows source git repository URLs to be overridden to include customizations from your own -repositories. The OVERRIDE_GITRECEIVE_URL, OVERRIDE_BUILDSTEP_REPO and OVERRIDE_DOKKU_REPO environment variables +repositories. The GITRECEIVE_URL, BUILDSTEP_REPO and DOKKU_REPO environment variables may be set to override the defaults (see the bootstrap.sh script for how these apply): Example: $ wget j.mp/dokku-bootstrap $ chmod +x bootstrap.sh - $ OVERRIDE_DOKKU_REPO=https://github.com/yourusername/dokku.git bootstrap.sh + $ DOKKU_REPO=https://github.com/yourusername/dokku.git bootstrap.sh ## Configuring diff --git a/bootstrap.sh b/bootstrap.sh index c73c5ed50..6399016a4 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,8 +1,8 @@ # Repository locations - set environment variables to override defaults # e.g. OVERRIDE_DOKKU_REPO=https://github.com/yourusername/dokku.git bootstrap.sh -GITRECEIVE_URL=${OVERRIDE_GITRECEIVE_URL:-"https://raw.github.com/progrium/gitreceive/master/gitreceive"} -BUILDSTEP_REPO=${OVERRIDE_BUILDSTEP_REPO:-"https://github.com/progrium/buildstep.git"} -DOKKU_REPO=${OVERRIDE_DOKKU_REPO:-"https://github.com/progrium/dokku.git"} +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`