Compare commits
1 Commits
7e59f820a3
...
v0.1.55
| 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
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user