These instructions are based on this article: https://docs.gitea.io/en-us/install-from-source/.
Setup Raspberry Pi with minimal Raspbian image. You need to connect to the HDMI port and set the following:
Use Noobs to install Raspian.
Open menu Preferences > Raspberry Pi Settings