diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-10-05 22:01:35 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-10-05 22:01:35 +0100 |
commit | b3f2a47e1b4e3ffb65e0787afe102df709ab53eb (patch) | |
tree | 9b5787647376157c57889bc0d4b8549f3f5615a2 | |
parent | 8af99b690b86052a37747e2feb1b5621b383fbd6 (diff) | |
download | liw-gitano-acl-test-suite-b3f2a47e1b4e3ffb65e0787afe102df709ab53eb.tar.gz |
Augment setup checklist
-rw-r--r-- | gitano-checklist.txt | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/gitano-checklist.txt b/gitano-checklist.txt index a61bd3e..d619f7a 100644 --- a/gitano-checklist.txt +++ b/gitano-checklist.txt @@ -9,6 +9,7 @@ Setting up Gitano (with cgit and git daemon) on Debian wheezy - gitano (from gitano-all source package) - lua-rex-pcre - openbsd-inetd + - apache2 * adduser --disabled-password git @@ -27,6 +28,74 @@ Setting up Gitano (with cgit and git daemon) on Debian wheezy * /etc/init.d/openbsd-inetd restart +* edit /etc/apache2/sites-available/default to add: + + # CGIT stuff + DirectoryIndex /cgi-bin/cgit/cgit.cgi + Alias /cgit.png /usr/share/cgit/htdocs/cgit.png + Alias /cgit.css /usr/share/cgit/htdocs/cgit.css + <Directory "/home/git/repos"> + Options FollowSymlinks Indexes + Allow from all + AllowOverride none + Order allow,deny + </Directory> + +* /etc/init.d/apache2 restart + +* create /etc/cgitrc: + + # Enable caching of up to 1000 output entriess + cache-size=1000 + + # Specify some default clone prefixes + clone-prefix=git://testgit + + # Specify the css url + css=/cgit.css + + # Specify the logo url + logo=/cgit.png + + # Show extra links for each repository on the index page + enable-index-links=1 + + # Show number of affected files per commit on the log pages + enable-log-filecount=1 + + # Show number of added/removed lines per commit on the log pages + enable-log-linecount=1 + + # Set the title and heading of the repository index page + root-title=testgit + root-desc=Lars's test git repositories + + # Allow download of tar.gz, tar.bz2 and zip-files + snapshots=tar.gz + + #source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh + + remove-suffix=1 + + enable-git-config=1 + + strict-export=git-daemon-export-ok + + scan-path=/home/git/repos + + ## + ## List of common mimetypes + ## + mimetype.git=image/git + mimetype.html=text/html + mimetype.jpg=image/jpeg + mimetype.pdf=application/pdf + mimetype.png=image/png + mimetype.svg=image/svg+xml + + +---- + * git clone ssh://git@testgit2/gitano-admin - edit rules/core.lace, uncomment the last line: "allow "Anonymous access is okay" op_read !is_admin_repo" |