From 1aa84a363e202db018139b10b4eac01950d231ab Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 4 Jun 2021 15:17:08 +0200 Subject: use inline defined hints, and fix distinguish gitshellhost from githost --- SETUP.md | 14 +++++++++----- 1 file 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" -- cgit v1.2.3