Gitea

Gitea is a self-hosted Git service, written in Go, which can serve Git repositories with associated issue trackers and wikis.

Installing Gitea

1

Create a shell user if you have not done so already. You can use an existing shell user if you wish.

2

Click on Applications in the control panel sidebar.

3

Click the button labeled "+ Add Application" in the upper-left corner of the content area.

4

Select Gitea as the application type.

5

Enter a name for your application in the Name field.

This name will be used to create a subdirectory in your shell user's apps directory such as /home/username/apps/appname.

6

Select the shell user that will host the application.

If you have multiple servers, be sure to select the shell user that is located on the server from which you intend to serve your site.

7

Click the "Add Application" button to save your new application.

8

A notification will appear in the control panel when the application is ready. This may take a minute or longer. The notification will contain your initial Gitea username and password.

9

Attach the Gitea app to a site route - see Managing Sites for specific instructions.

10

SSH into your shell user's server and update /home/username/app/appname/custom/conf/app.ini to set the DOMAIN and ROOT_URL parameters to use your site's domain.

11

Restart the app:

/home/username/app/appname/stop
/home/username/app/appname/start
12

Log in to your Gitea site and set your email address to the address that you want to use with your Gitea profile.