/gitty

tiny web interface for gitolite

Primary LanguagePerlArtistic License 2.0Artistic-2.0

How to install
  Prepare git user
    Install soft. Run as root.

      sudo apt-get install openssh-server git-core

      adduser --system --shell /bin/sh --gecos 'git version control' --group \
              --disabled-password --home /home/git git

    Create ssh key for git.

      sudo -u git ssh-keygen

    Allow ssh support for git. Edit manually file "/etc/ssh/sshd_config".
    Add user "git" into line "AllowUsers".

      sudo /etc/init.d/ssh restart

  Install Gitolite
    Run as root.

      sudo apt-get install gitolite

    Run as git.

      sudo -u git gl-setup ~/root.pub

    Get admin repo (run as git-admin user).

      git clone git@server:gitolite-admin

  Install SQLite
      sudo apt-get install sqlite

  Install Perl modules
      sudo cpan Mojolicious DBI DBD::SQLite

Using
      perl ./gitty.pl daemon -m production

    Runs HTTP daemon on 3000 port.