summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SETUP.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/SETUP.md b/SETUP.md
index 73750c9..fee4460 100644
--- a/SETUP.md
+++ b/SETUP.md
@@ -1,12 +1,16 @@
# Setting up source hosting
-NB! Some system-specific strings are used
-which you may need to adapt depending on your local setup:
+
+## Special strings
+
+NB! This documentation uses special strings
+which you may want to adapt for your local setup:
redpill_root: /usr/local/share/redpill
feature_root: /usr/local/share/redpill/source-hosting
-githost: {{githost}}
+githost: source.example.org
+gitshellhost: git.example.org
## Prerequisites
@@ -38,7 +42,7 @@ and install needed packages:
**On your local host**,
Clone the gitolite3 settings repository:
- git clone git@{{githost}}:gitolite-admin
+ git clone git@git.example.org:gitolite-admin
**On your local host**,
edit the file gitolite.conf,
@@ -100,7 +104,7 @@ Adapt the file `/etc/default/git-daemon`:
GIT_DAEMON_ENABLE=true
GIT_DAEMON_USER=gitdaemon
GIT_DAEMON_BASE_PATH=/srv/git
- GIT_DAEMON_DIRECTORY=/srv/git/{{githost}}
+ GIT_DAEMON_DIRECTORY=/srv/git/source.example.org
# Additional options that are passed to the Daemon.
GIT_DAEMON_OPTIONS="--interpolated-path=/srv/git/%H/%D --user-path=public_git --export-all"