Installing Gitea

Updated on 28 Dec 2018

gitea is a community based fork of gogs and provides a nice UI for your git repositories. The purpose of using gitea is for a self hosted git repository which I have on my NAS box.

Install from binary

Goto the instructions for installing gitea from binary.

With the install from binary, DO NOT copy gitea to /usr/local/bin directory. This is because gitea uses directories in relation to where gitea is run from. It needs directories etc. See if I can follow the directions for a service; or if you want to test, copy the binary to /var/lib/gitea directory.

The /etc/gitea/app.ini can be modified to point to different directories – including where the git repos are saved. I.e. onto your NAS.

Upgrading gitea

To upgrade gitea to a newer version, follow these instructions.