Making repo location override variables shorter, simpler names for users.

This commit is contained in:
Richard North
2013-06-09 18:26:59 +01:00
parent d585292bf8
commit 0033c3a8cd
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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`