This is an old revision of the document!
emerge gitea:
echo “>=acct-user/git-0-r3 gitea” » /etc/portage/package.use/gitea emerge -vp gitea
usermod -d /deposito/gitea -m gitea
edit /etc/conf.d/gitea:
GITEA_CONF="/deposito/gitea/app.ini" # Gitea working directory GITEA_WORK_DIR="/deposito/gitea"
in app.ini:
BASE_URL = /gitea/ HTTP_ADDR = 127.0.0.1 HTTP_PORT = 3001
l'url diventa:
ssh:git@server:ssh_port/user/repo.git