summaryrefslogtreecommitdiff
path: root/README
blob: 49639e964806d3bad86162032543c6a032b121c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
** What is needed ?

www-apps/cgit
app-text/highlight    # For general formatting/highlighting
dev-python/markdown   # For .md/about formatting
dev-python/docutils   # For .rst/about formatting

** How to make this work ?

# cgit core
cp /usr/share/webapps/cgit/*/hostroot/cgi-bin/cgit.cgi public_html/cgit.cgi
cp /usr/share/webapps/cgit/*/htdocs/cgit.css           public_html/cgit.css

chown nobody:git public_html/cgit.*

# git http-backend
ln -s /usr/libexec/git-core/git-http-backend           public_html/git-http-backend

# Beautify
chmod +x public_html/filters/*-filter
chown -R nobody:git public_html/filters