Server

This guide assumes you have installed gotweb and have set up a [got repo. This guide assumes you have installed gotweb and have set up a [got repo.

Currently, got lacks its own server, so you'll need git:

$ doas pkg_add git


$ doas chsh -s /sbin/nologin _gitdaemon
$ doas -u _gitdaemon git daemon --base-path=/var/www/got/public/ --verbose --export-all /var/www/got/public/
$ doas crontab -e -u _gitdaemon
*/5     *       *       *       *       git daemon --base-path=/var/www/got/public/ --verbose --export-all /var/www/got/public/

Now it is possible to clone:

$ git clone git://example.com/project

Replace example.com with your domain and project with the repo name.

Using got

Create/manage got repos

Install gotweb