Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormiks <miks@cubesystems.lv>2012-09-10 17:47:31 +0400
committermiks <miks@cubesystems.lv>2012-09-10 17:47:31 +0400
commit2e34a6d3c40a60ed689de5d7870fe663b1959e88 (patch)
treed2c1d12930948c11e2c767e8688ee49ac8c79ea4 /doc
parentfdb5c82c331e43dc5d0466d2a4c90ce3e649fc7b (diff)
parent8674fba173e520a67d60e6b5289dcd1bd648d537 (diff)
Merge branch 'master' into project_hooks_api
Diffstat (limited to 'doc')
-rw-r--r--doc/installation.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/installation.md b/doc/installation.md
index e14ec711e7b..af169d81c6f 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -113,17 +113,20 @@ Generate key:
Clone GitLab's fork of the Gitolite source code:
cd /home/git
- sudo -H -u git git clone https://github.com/gitlabhq/gitolite.git /home/git/gitolite
+ sudo -H -u git git clone -b gl-v304 https://github.com/gitlabhq/gitolite.git /home/git/gitolite
Setup:
+ cd /home/git
+ sudo -u git -H mkdir bin
sudo -u git sh -c 'echo -e "PATH=\$PATH:/home/git/bin\nexport PATH" >> /home/git/.profile'
- sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; /home/git/gitolite/src/gl-system-install"
+ sudo -u git sh -c 'gitolite/install -ln /home/git/bin'
+
sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
sudo chmod 0444 /home/git/gitlab.pub
- sudo -u git -H sed -i 's/0077/0007/g' /home/git/share/gitolite/conf/example.gitolite.rc
- sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gl-setup -q /home/git/gitlab.pub"
+ sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; gitolite setup -pk /home/git/gitlab.pub"
+ sudo -u git -H sed -i 's/0077/0007/g' /home/git/.gitolite.rc
Permissions:
@@ -189,8 +192,8 @@ and ensure you have followed all of the above steps carefully.
#### Setup GitLab hooks
- sudo cp ./lib/hooks/post-receive /home/git/share/gitolite/hooks/common/post-receive
- sudo chown git:git /home/git/share/gitolite/hooks/common/post-receive
+ sudo cp ./lib/hooks/post-receive /home/git/.gitolite/hooks/common/post-receive
+ sudo chown git:git /home/git/.gitolite/hooks/common/post-receive
#### Check application status