diff options
-rw-r--r-- | SETUP.md | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -48,14 +48,15 @@ e.g. add these likes to add repository "foobar": ## Enable hook -**On the server**, -clone the redpill feature project for source-hosting +This is all done **On the server**. + +Clone the redpill feature project for source-hosting and register with myrepos (to ease later update): - mkdir --parents /usr/local/share/redpill + sudo mkdir --parents /usr/local/share/redpill cd /usr/local/share/redpill - git clone https://source.redpill.dk/source-hosting.git - mr reg + sudo git clone https://source.redpill.dk/source-hosting.git + sudo mr reg Edit the file `/etc/gitolite3/gitolite.rc` to have `LOCAL_CODE` point into the project cloned above, @@ -78,7 +79,7 @@ grant access for gitolite to write below /var/www with these commands: sudo mkdir /var/www/gitolite3 - chown git:www-data /var/www/gitolite3 + sudo chown git:www-data /var/www/gitolite3 **On your local host**, edit the file gitolite.conf @@ -90,8 +91,9 @@ e.g. add these likes to add repository "foobar": ## Configure web access -**On the server**, -adapt the file `/etc/default/git-daemon`: +This is all done **On the server**. + +Adapt the file `/etc/default/git-daemon`: GIT_DAEMON_ENABLE=true GIT_DAEMON_USER=gitdaemon |