Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 844e727b7d |
31
README.md
31
README.md
@@ -63,21 +63,38 @@ Two workflows are set up.
|
||||
|
||||
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
|
||||
dnf config-manager --add-repo https://git.netoik.io/api/packages/samuel/rpm.repo
|
||||
dnf repolist | grep gitea-samuel
|
||||
```
|
||||
|
||||
- To show available versions:
|
||||
|
||||
- Show available versions:
|
||||
```shell
|
||||
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
|
||||
dnf --nogpgcheck install netoik-rp
|
||||
dnf --nogpgcheck upgrade netoik-rp
|
||||
cat > ~/.netoik-rp.env << EOF
|
||||
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
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 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_application_name = "$OVH_APPLICATION_NAME"
|
||||
|
||||
Reference in New Issue
Block a user