Updated app:status & docs with hooks. Removed write_hooks from app:setup
This commit is contained in:
parent
d862ebd3b3
commit
d1daeba173
3 changed files with 20 additions and 2 deletions
|
@ -119,7 +119,6 @@ Permissions:
|
|||
|
||||
sudo chmod -R g+rwX /home/git/repositories/
|
||||
sudo chown -R git:git /home/git/repositories/
|
||||
sudo chown gitlab:gitlab /home/git/repositories/**/hooks/post-receive
|
||||
|
||||
#### CHECK: Logout & login again to apply git group to your user
|
||||
|
||||
|
@ -177,6 +176,11 @@ Permissions:
|
|||
#### Setup DB
|
||||
|
||||
sudo -u gitlab bundle exec rake gitlab:app:setup RAILS_ENV=production
|
||||
|
||||
#### 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
|
||||
|
||||
Checking status:
|
||||
|
||||
|
@ -196,6 +200,7 @@ Checking status:
|
|||
Resolving deltas: 100% (174/174), done.
|
||||
Can clone gitolite-admin?............YES
|
||||
UMASK for .gitolite.rc is 0007? ............YES
|
||||
/home/git/share/gitolite/hooks/common/post-receive exists? ............YES
|
||||
|
||||
If you got all YES - congrats! You can go to next step.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue