Indefero

Indefero Commit Details

Date:2009-01-21 19:27:56 (5 years 2 months ago)
Author:Loïc d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:eb90d46eb8c51b27e904486253036ed9b46f1329
Parents: 848ec329daa160d8172efa025ea2726656fade18
Message:Improved the documentation of the git backend.

Changes:
Mdoc/syncgit.mdtext (2 diffs)

File differences

doc/syncgit.mdtext
4141
4242
4343
44
45
46
47
48
49
4450
4551
4652
......
7581
7682
7783
78
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
$ chmod 0600 /home/git/.ssh/authorized_keys
$ exit
We add the `www-data` user to the `git` group so it can access the
repositories to read the content:
$ sudo usermod -a -G git www-data
## Creation of the repositories base
For each project using git in InDefero a corresponding bare repository
php /home/www/indefero/scripts/gitcron.php
The user of the cron job must be `git`.
The user of the cron job must be `git`.
## Git daemon configuration
Put in `/etc/event.d/local-git-daemon` the following:
start on startup
stop on shutdown
exec /usr/bin/git-daemon \
--user=git --group=git \
--verbose \
--reuseaddr \
--base-path=/home/git/repositories/ \
/home/git/repositories/
respawn
Then run:
$ sudo start local-git-daemon

Archive Download the corresponding diff file