summaryrefslogtreecommitdiff
path: root/ADMIN.md
blob: c530cad8fa8cdcfbd9fb83c648c6d328fcf58545 (plain)

Administrate source hosting

Special strings

NB! This documentation includes the following special strings used e.g. when generating a documentation website:

gitshellhost: git.example.org

Prerequisites

Clone the gitolite3 settings repository:

git clone git@git.example.org:gitolite-admin

Web export

edit the file gitolite.conf to add a section for each git repository it should host, defining access rights, and passing hints to a server-side export hook.

Simple web hosting

E.g. like this for an example repository "foobar", with a simple web export of the git branch "main":

repo foobar
    RW+     =   @all
    option ENV.WEB_BRANCH = main

Ikiwiki web hosting

repo some-iki-site
    RW+     =   @all
    option ENV.WEB_BRANCH = main
    option ENV.WEB_BRANCH = main