doc: update readme
All checks were successful
Continuous Integration / lint_n_build (push) Successful in 19s
Continuous Delivery / build_n_upload (push) Successful in 19s

This commit is contained in:
2026-03-08 16:39:06 +01:00
parent 7e59f820a3
commit 844e727b7d
2 changed files with 25 additions and 8 deletions

View File

@@ -63,21 +63,38 @@ Two workflows are set up.
Some commands to deploy the RPM package on server Some commands to deploy the RPM package on server
- To add Gitea repo to your repo list: - Add Gitea repo to your repo list:
```shell ```shell
dnf config-manager --add-repo https://git.netoik.io/api/packages/samuel/rpm.repo dnf config-manager --add-repo https://git.netoik.io/api/packages/samuel/rpm.repo
dnf repolist | grep gitea-samuel dnf repolist | grep gitea-samuel
``` ```
- To show available versions: - Show available versions:
```shell ```shell
dnf --showduplicates netoik-rp dnf --showduplicates netoik-rp
``` ```
- To install or upgrade: - Create certbot ovh credentials here:
[www.ovh.com/auth/api/createToken](https://www.ovh.com/auth/api/createToken)
- Setup environemnt file (fill values):
```shell ```shell
dnf --nogpgcheck install netoik-rp cat > ~/.netoik-rp.env << EOF
dnf --nogpgcheck upgrade netoik-rp OVH_ENDPOINT=""
OVH_APPLICATION_NAME=""
OVH_APPLICATION_DESCRIPTION=""
OVH_APPLICATION_KEY=""
OVH_APPLICATION_SECRET=""
OVH_CONSUMER_KEY=""
EOF
```
- Install or upgrade package:
```shell
set -a
source ~/.netoik-rp.env
dnf --nogpgcheck --refresh --assumeyes --best install netoik-rp
set +a
``` ```

View File

@@ -1,5 +1,5 @@
# OVH API credentials used by Certbot # OVH API credentials used by Certbot
# To generate a new token, go to: https://www.ovh.com/auth/api/createToken # To generate new credentials, go to: https://www.ovh.com/auth/api/createToken
dns_ovh_endpoint = "$OVH_ENDPOINT" dns_ovh_endpoint = "$OVH_ENDPOINT"
dns_ovh_application_name = "$OVH_APPLICATION_NAME" dns_ovh_application_name = "$OVH_APPLICATION_NAME"