wiki:KalliServer

Version 12 (modified by admin, 4 years ago) (diff)

--

Installing Kallithea on Debian 8

  • git clone git://anonscm.debian.org/collab-maint/kallithea.git
  • wget https://pypi.python.org/packages/source/K/Kallithea/Kallithea-0.2.2.tgz
  • ln -s Kallithea-0.2.2.tgz kallithea_0.2.2.orig.tar.gz
  • cd kallithea
  • DEB_BUILD_OPTIONS=nocheck debuild

upgrade python-dulwich to unstable.

  • cd ..
  • sudo dpkg -i kallithea_0.2.2-1_all.deb

Setup

  • cd /var/lib/kallithea
  • sudo paster make-config Kallithea my.ini
  • edit my.ini as root.
    • change 'host =' to "host = 0.0.0.0", to allow the internet to access kallithea.
    • change 'port =' to "port = 80".
  • sudo mkdir repos
  • paster setup-db my.ini
    • The script will ask if you're OK blowing away the current database. say yes.
    • The script will ask for the absolute path to the repositories. use '/var/lib/kallithea/repos/'
    • The script will ask you for the admin username, password, and email.

Notes

20:18 < andrewsh> oh, right, if you want .orig.tar.gz you also do `uscan`
20:18 < juri_> except that isn't working. debuild doesn't like not having a .orig.tar.gz.
20:18 < andrewsh> git clone …
20:18 < andrewsh> uscan --verbose
20:18 < andrewsh> dpkg-buildpackage