From c56db33d62a0c453241ece5ea66a85c44a90c5e8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 17 Jul 2022 14:21:06 +0000 Subject: [PATCH] Auto-update README --- README.md | 14 ++++++++++++-- README_fr.md | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7261aab..bb01018 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,11 @@ Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, ## Notes on SSH usage -If you want to use Gitea with SSH and be able to pull/push with you SSH key, your SSH daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gogs: +If you want to use Gitea with ssh and be able to pull/push with you ssh key, your ssh daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gitea: ```bash PubkeyAuthentication yes -AuthorizedKeysFile %h/.ssh/authorized_keys +AuthorizedKeysFile /home/%u/.ssh/authorized_keys ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no @@ -62,10 +62,20 @@ Host domain.tld port 2222 # change this with the port you use ``` +You will also need to add the gitea user in the ssh permission with this command: +```bash + +sudo adduser gitea ssh.app +``` + ## Private Mode Actually it's possible to access to the Git repositories by the `git` command over HTTP also in private mode installation. It's important to know that in this mode the repository could be ALSO getted if you don't set the repository as private in the repos settings. +## Remove Gitea + +Due of the backup core only feature the data directory in `/home/yunohost.app/gitea` is not removed unless using thr purge option: `sudo yunohost app remove gitea --purge` + ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index 96fb587..dbeb777 100644 --- a/README_fr.md +++ b/README_fr.md @@ -30,11 +30,11 @@ Gitea est un service Git auto-hébergé. Il est similaire à GitHub, Bitbucket e ## Notes on SSH usage -If you want to use Gitea with SSH and be able to pull/push with you SSH key, your SSH daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gogs: +If you want to use Gitea with ssh and be able to pull/push with you ssh key, your ssh daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gitea: ```bash PubkeyAuthentication yes -AuthorizedKeysFile %h/.ssh/authorized_keys +AuthorizedKeysFile /home/%u/.ssh/authorized_keys ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no @@ -49,10 +49,20 @@ Host domain.tld port 2222 # change this with the port you use ``` +You will also need to add the gitea user in the ssh permission with this command: +```bash + +sudo adduser gitea ssh.app +``` + ## Private Mode Actually it's possible to access to the Git repositories by the `git` command over HTTP also in private mode installation. It's important to know that in this mode the repository could be ALSO getted if you don't set the repository as private in the repos settings. +## Remove Gitea + +Due of the backup core only feature the data directory in `/home/yunohost.app/gitea` is not removed unless using thr purge option: `sudo yunohost app remove gitea --purge` + ## Documentations et ressources * Site officiel de l'app :