aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-05-26 15:24:32 +0200
committerStefan Kangas <skangas@skangas.se>2011-05-26 15:24:32 +0200
commit2e85045fcb23f8feba4920a0cadf3ba302f16810 (patch)
tree4c62d983c8f3fe4d87b7916e428dfaa05edd248f
parent04062151788ceba3459caa40d7af0a0956cc7de2 (diff)
Add preliminary gitweb and gitolite notes
-rw-r--r--fripost-docs.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/fripost-docs.org b/fripost-docs.org
index 625fdc6..951293b 100644
--- a/fripost-docs.org
+++ b/fripost-docs.org
@@ -770,6 +770,25 @@ TODO: add the necessary configuration files
- sudo apt-get install apache2
+*** Configuring gitweb and gitolite
+
+# Note: incomplete steps
+
+sudo apt-get install gitolite gitweb
+
+sudo dpkg-reconfigure gitolite
+
+# Add the gitweb user to gitolite
+
+:: /var/lib/gitolite/.gitolite.rc
+ $REPO_UMASK = 0027; # gets you 'rwxr-x---'
+
+sudo usermod -a -G gitolite www-data
+
+sudo /etc/init.d/apache2 stop
+
+sudo /etc/init.d/apache2 start
+
** Logging
*** Overview
We want to limit how much we log for privacy reasons. At the same time we want