lar.ven – this.ven's wiki

Authority through knowledge (of FLOSS and GNU/Linux)

User Tools

Site Tools


services:gitea

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:gitea [2022/06/24 21:47] – Added link to cheat sheet for logging confoguration thisvenservices:gitea [2022/09/30 13:30] (current) – [Basic setup] Updated link to lab guide this.ven
Line 1: Line 1:
 +====== Gitea ======
  
 +To share code and make development transparent [[https://gitea.com/|Gitea]] can be used as a self-hostable solution offering [[wp>Git|Git]] services in a lightweight fashion. In [[https://docs.gitea.io/en-us/comparison/|comparison]] to other providers and platforms, it features most important functions for professional FLOSS development and instead of home delivering content and ideas to one of the [[wp>Big_Tech|Big Techs]]'s hub, I'm rather sharing my projects at this site:
 +
 +[[https://dri.ven.uber.space/this|{{https://dri.ven.uber.space/assets/img/logo.svg?64}}]] [[https://dri.ven.uber.space/this]]
 +
 +> **Note:** Some links in this guide lead to [[https://git-scm.com|Git]]'s documentation due to lack of dedicated tutorials for Gitea, but most of it applies to it as well.
 +
 +===== Basic setup =====
 +
 +For a guide on installation refer to [[https://docs.gitea.io|Documentation]] as well as the [[https://lab.uberspace.de/guide_gitea|Gitea — UberLab 7 documentation]]. After this open drop down menu and go to //Settings// and adjust security, application and [[https://git-scm.com/book/en/Git-on-the-Server-Generating-Your-SSH-Public-Key|SSH/GPG public key]] configuration.
 +
 +===== Minimize logging =====
 +
 +In order to change the default [[https://docs.gitea.io/en-us/config-cheat-sheet/#log-log|log level]], which is rather verbose, a new ''[log]'' section defining a ''LEVEL'' such as ''error'' needs to be added to the configuration file:
 +
 +<code ini>[log]
 +LEVEL = critical
 +</code>
 +
 +===== More security =====
 +
 +Hardening can be done by activating [[https://git-scm.com/book/en/GitHub-Account-Setup-and-Configuration#_two_factor_authentication|Two-factor authentication (2FA)]] and remember to create an [[https://docs.gitea.io/en-us/api-usage/|access token]] as well as setting it up for local commits.
 +
 +{{tag>code_repository documentation project_management software_development }}
 +
 +Category: [[./|Services]]