mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 05:05:46 +02:00
Making repo location override variables shorter, simpler names for users.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user