diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-06-04 15:17:08 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-06-04 15:20:47 +0200 |
commit | 1aa84a363e202db018139b10b4eac01950d231ab (patch) | |
tree | a07a0c69f4801b7aff12c6270cea26a685da9c2d | |
parent | 0267fd5e85fcd9e0b1e85017c7da1e1da1425d42 (diff) |
use inline defined hints, and fix distinguish gitshellhost from githost
-rw-r--r-- | SETUP.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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" |