1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00

Add README_fr

This commit is contained in:
ericgaspar 2021-01-27 12:03:57 +01:00
parent 58d6f90bf6
commit 51d7dc0e90
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 76 additions and 8 deletions

68
README_fr.md Normal file
View file

@ -0,0 +1,68 @@
# Coturn server pour YunoHost
[![Integration level](https://dash.yunohost.org/integration/coturn.svg)](https://dash.yunohost.org/appci/app/coturn) ![](https://ci-apps.yunohost.org/ci/badges/coturn.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/coturn.maintain.svg)
[![Installer Coturn avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=coturn)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Coturn rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*
## Overview
Serveur TURN et STUN pour VoIP. STUN (Session Traversal Utilities for NAT) et TURN (Traversal Using Relays around NAT) sont des protocoles qui peuvent être utilisés pour fournir une traversée NAT pour VoIP et WebRTC. Ce package fournit un serveur et une passerelle de traversée NAT du trafic multimédia VoIP.
**Version incluse :** 4.5.1.1
## Configuration
Vous devez installer coTURN à la racine ou un sous-domaine comme `turn.domain.lts`
How to configure this app: a plain file with SSH.
## Testing
Pour les tests, vous pouvez utiliser l'outil de test Trickle-Ice. Accédez à la page [trickle-ice](https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice) et entrez les détails suivants.
```
TURN URI : turn:<YOUR_PUBLIC_IP_ADDRESS>:5349
TURN username: <YOUR_USERNAME>
TURN password: <YOUR_PASSWORD>
```
## Documentation
* Documentation officielle : https://github.com/coturn/coturn/wiki
* Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer.
#### Support multi-utilisateur
#### Architectures supportées
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/coturn%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/coturn/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/coturn%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/coturn/)
## Limitations
* Limitations connues.
## Informations additionnelles
* Autres informations que vous souhaitez ajouter sur cette application.
## Links
* Signaler un bug : https://github.com/YunoHost-Apps/coturn_ynh/issues
* Site de l'application : https://github.com/coturn/coturn
* Site web YunoHost : https://yunohost.org/
---
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/coturn_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit.
```
sudo yunohost app install https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
ou
sudo yunohost app upgrade coturn -u https://github.com/YunoHost-Apps/coturn_ynh/tree/testing --debug
```

View file

@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
# LOAD SETTINGS # LOAD SETTINGS
#================================================= #=================================================
ynh_script_progression --message="Loading installation settings..." --time --weight=1 ynh_script_progression --message="Loading installation settings..." --weight=1
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -82,7 +82,7 @@ ynh_add_systemd_config
#================================================= #=================================================
# SET COTURN CONFIG # SET COTURN CONFIG
#================================================= #=================================================
ynh_script_progression --message="Configuring Coturn..." --weight=1 ynh_script_progression --message="Configuring Coturn..." --weight=2
# WARNING: theses command are used in INSTALL, UPGRADE # WARNING: theses command are used in INSTALL, UPGRADE
# For any update do it in all files # For any update do it in all files
@ -138,17 +138,17 @@ ynh_replace_string --match_string="__DATA_PATH__" --replace_string=$data_path --
#================================================= #=================================================
# Fix issue about certificates access # Fix issue about certificates access
if [ ! $(grep "ssl-cert:x:[0-9]*:.*$app" /etc/group) ] # if [ ! $(grep "ssl-cert:x:[0-9]*:.*$app" /etc/group) ]
then # then
ynh_script_progression --message="Use standard access for certificate..." --weight=1 # ynh_script_progression --message="Use standard access for certificate..." --weight=1
adduser turnserver ssl-cert # adduser turnserver ssl-cert
fi # fi
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE
#================================================= #=================================================
ynh_script_progression --message="Configuring log rotation..." --weight=1 ynh_script_progression --message="Configuring log rotation..." --weight=5
ynh_use_logrotate --logfile "/var/log/$app" ynh_use_logrotate --logfile "/var/log/$app"