From ce08e9956d757119fc6f757cfdef6a4ba4c973dc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 5 Oct 2013 21:48:02 +0100 Subject: Initial commit --- gitano-checklist.txt | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 gitano-checklist.txt (limited to 'gitano-checklist.txt') diff --git a/gitano-checklist.txt b/gitano-checklist.txt new file mode 100644 index 0000000..a61bd3e --- /dev/null +++ b/gitano-checklist.txt @@ -0,0 +1,37 @@ +Setting up Gitano (with cgit and git daemon) on Debian wheezy +============================================================= + +* Obtain luxio and gitano-all built for wheezy. + - you may have to build them yourself + +* Install packages: + - luxio + - gitano (from gitano-all source package) + - lua-rex-pcre + - openbsd-inetd + +* adduser --disabled-password git + +* make sure your ssh public key is on the system; you'll need + it for gitano-setup + +* su - git + - run gitano-setup + - answer questions truthfully + +* from your own ssh account: ssh git@host whoami + +* edit /etc/inetd.conf to add: + + git stream tcp nowait nobody /usr/bin/git git daemon --inetd --interpolated-path=/home/git/repos/%D /home/git/repos + +* /etc/init.d/openbsd-inetd restart + +* 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" + - git commit -av + - git push origin HEAD + +* ssh git@host create foo + -- cgit v1.2.1