mirror of
https://github.com/YunoHost-Apps/conduit_ynh.git
synced 2024-09-03 18:16:30 +02:00
commit
6e1f96df4f
10 changed files with 42 additions and 22 deletions
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
|||
Conduit is a lightweight open-source server implementation of the Matrix Specification with a focus on easy setup and low system requirements. That means you can make your own Conduit setup in just a few minutes.
|
||||
Conduit keeps things simple, it's a single binary with an embedded database and can be much faster than other server implementations in some cases.
|
||||
|
||||
**Shipped version:** 0.6.0~ynh6
|
||||
**Shipped version:** 0.7.0~ynh1
|
||||
## Documentation and resources
|
||||
|
||||
- Official app website: <https://conduit.rs/>
|
||||
|
|
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
|||
Conduit is a lightweight open-source server implementation of the Matrix Specification with a focus on easy setup and low system requirements. That means you can make your own Conduit setup in just a few minutes.
|
||||
Conduit keeps things simple, it's a single binary with an embedded database and can be much faster than other server implementations in some cases.
|
||||
|
||||
**Paketatutako bertsioa:** 0.6.0~ynh6
|
||||
**Paketatutako bertsioa:** 0.7.0~ynh1
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
||||
- Aplikazioaren webgune ofiziala: <https://conduit.rs/>
|
||||
|
|
|
@ -19,7 +19,8 @@ Il NE doit PAS être modifié à la main.
|
|||
Conduit est une implémentation de serveur open source légère de la spécification Matrix avec un accent sur une configuration facile et des exigences système faibles. Cela signifie que vous pouvez créer votre propre configuration Conduit en quelques minutes seulement.
|
||||
Conduit garde les choses simples, c'est un binaire unique avec une base de données intégrée et peut être beaucoup plus rapide que d'autres implémentations de serveur dans certains cas.
|
||||
|
||||
**Version incluse :** 0.6.0~ynh6
|
||||
|
||||
**Version incluse :** 0.7.0~ynh1
|
||||
## Documentations et ressources
|
||||
|
||||
- Site officiel de l’app : <https://conduit.rs/>
|
||||
|
|
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
|||
Conduit is a lightweight open-source server implementation of the Matrix Specification with a focus on easy setup and low system requirements. That means you can make your own Conduit setup in just a few minutes.
|
||||
Conduit keeps things simple, it's a single binary with an embedded database and can be much faster than other server implementations in some cases.
|
||||
|
||||
**Versión proporcionada:** 0.6.0~ynh6
|
||||
**Versión proporcionada:** 0.7.0~ynh1
|
||||
## Documentación e recursos
|
||||
|
||||
- Web oficial da app: <https://conduit.rs/>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
Conduit is a lightweight open-source server implementation of the Matrix Specification with a focus on easy setup and low system requirements. That means you can make your own Conduit setup in just a few minutes.
|
||||
Conduit keeps things simple, it's a single binary with an embedded database and can be much faster than other server implementations in some cases.
|
||||
|
||||
**分发版本:** 0.6.0~ynh6
|
||||
**分发版本:** 0.7.0~ynh1
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://conduit.rs/>
|
||||
|
|
14
doc/Admin.md
Normal file
14
doc/Admin.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
### Coturn configuration
|
||||
|
||||
To be able to take advantage of audio and video call functionalities, a coturn server is often required. It is possible to [install a coturn server in YunoHost (https://github.com/YunoHost-Apps/coturn-ynh/blob/master/README-en.md).
|
||||
It is then necessary to fill in the information provided by the coturn server in the file 'conduit.toml' such as:
|
||||
|
||||
```
|
||||
turn_uris = ["turns:your.turn.url:5349?transport=udp", "turns:your.turn.url:5349?transport=tcp"]
|
||||
turn_username = "<YOUR_USERNAME>"
|
||||
turn_password = "<YOUR_PASSWORD>"
|
||||
```
|
||||
If your coturn (not Yunohost's one) don't use TLS, you might need to change a little bit like :
|
||||
```
|
||||
turn_uris = ["turn:your.turn.url:5349?transport=udp", "turn:your.turn.url:5349?transport=tcp"]
|
||||
``
|
|
@ -1,2 +1,2 @@
|
|||
Conduit est une implémentation de serveur open source légère de la spécification Matrix avec un accent sur une configuration facile et des exigences système faibles. Cela signifie que vous pouvez créer votre propre configuration Conduit en quelques minutes seulement.
|
||||
Conduit garde les choses simples, c'est un binaire unique avec une base de données intégrée et peut être beaucoup plus rapide que d'autres implémentations de serveur dans certains cas.
|
||||
Conduit garde les choses simples, c'est un binaire unique avec une base de données intégrée et peut être beaucoup plus rapide que d'autres implémentations de serveur dans certains cas.
|
||||
|
|
13
doc/admin_fr.md
Normal file
13
doc/admin_fr.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
### Configuration d'un coturn
|
||||
|
||||
Afin de pouvoir profiter des fonctionnalités d'appels audio et video, un serveur coturn est souvent requis. Il est possible d'[installer un serveur coturn dans YunoHost](https://github.com/YunoHost-Apps/coturn_ynh/blob/master/README_fr.md).
|
||||
Il est ensuite nécessaire de renseigner les informations fournies par le serveur coturn dans le fichier `conduit.toml` tel que :
|
||||
```
|
||||
turn_uris = ["turns:your.turn.url:5349?transport=udp", "turns:your.turn.url:5349?transport=tcp"]
|
||||
turn_username = "<YOUR_USERNAME>"
|
||||
turn_password = "<YOUR_PASSWORD>"
|
||||
```
|
||||
Si votre serveur coturn (autre que celui de Yunohost) n'utilise pas une connection TLS, vous devrez ajuster ainsi :
|
||||
```
|
||||
turn_uris = ["turn:your.turn.url:5349?transport=udp", "turn:your.turn.url:5349?transport=tcp"]
|
||||
```
|
|
@ -5,7 +5,7 @@ name = "Conduit"
|
|||
description.en = "Simple, fast and reliable chat server powered by Matrix"
|
||||
description.fr = "Serveur de chat simple, rapide et fiable alimenté par Matrix"
|
||||
|
||||
version = "0.6.0~ynh6"
|
||||
version = "0.7.0~ynh1"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
@ -18,7 +18,7 @@ fund = "https://liberapay.com/timokoesters/"
|
|||
|
||||
[integration]
|
||||
yunohost = ">= 11.2"
|
||||
architectures = [ "arm64", "amd64", "armhf" ]
|
||||
architectures = [ "arm64", "amd64" ]
|
||||
multi_instance = false
|
||||
|
||||
ldap = "not_relevant"
|
||||
|
@ -62,12 +62,10 @@ ram.runtime = "50M"
|
|||
in_subdir = false
|
||||
extract = false
|
||||
rename = "conduit"
|
||||
amd64.url = "https://gitlab.com/famedly/conduit/-/jobs/artifacts/master/raw/build-output/linux_amd64/conduit?job=docker:master"
|
||||
amd64.sha256 = "eb085e2a43e9225da1fafe01956b361a48b48a1dce9370c3e09bbc120ff6998d"
|
||||
arm64.url = "https://gitlab.com/famedly/conduit/-/jobs/artifacts/master/raw/build-output/linux_arm64/conduit?job=docker:master"
|
||||
arm64.sha256 = "ef089841b2ff23285fa458459a3add2a608c0ec0702434b1a8973d2cac1b978f"
|
||||
armhf.url = "https://gitlab.com/famedly/conduit/-/jobs/artifacts/master/raw/build-output/linux_arm_v7/conduit?job=docker:master"
|
||||
armhf.sha256 = "595534a8eb19496f7ac39130e62a29645fc04b001faad72032144ab97467d394"
|
||||
amd64.url = "https://gitlab.com/api/v4/projects/famedly%2Fconduit/jobs/artifacts/master/raw/x86_64-unknown-linux-musl?job=artifacts"
|
||||
amd64.sha256 = "eafa400feefee2a2117d56a09c891d0c39cbec30520a2422056d7d2dcd00de04"
|
||||
arm64.url = "https://gitlab.com/api/v4/projects/famedly%2Fconduit/jobs/artifacts/master/raw/aarch64-unknown-linux-musl?job=artifacts"
|
||||
arm64.sha256 = "371a6572c370f82810e41666fe71bdacfd7b611b245310d6465392e9da7c3130"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# STOP SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
@ -23,13 +21,9 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
|||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="conduit.toml"
|
||||
fi
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="conduit.toml"
|
||||
|
||||
chown -R $app:root "$install_dir"
|
||||
chmod +x "$install_dir/conduit"
|
||||
|
|
Loading…
Add table
Reference in a new issue