1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Add documentation (fr/en) about Pleroma and YNH

This commit is contained in:
Aris~ 2023-03-11 03:09:03 +01:00
parent 277f4bd898
commit 66f319c988
2 changed files with 32 additions and 0 deletions

16
doc/yunohost.md Normal file
View file

@ -0,0 +1,16 @@
# Pleroma and Yunohost
Some information, for all intents and purposes, on the differences between a direct installation of Pleroma (from the _releases_) and installation with the Yunohost application package.
| | Official Package | With Yunohost |
| --------------------------- | -------------------------- | --------------------------------------- |
| Install directory | `/opt/pleroma` | `/var/www/pleroma/live/` |
| Static directory | `/var/lib/pleroma/static` | `/etc/pleroma/config.exs` |
| Configuration file | `/etc/pleroma/config.exs` | `/etc/pleroma/config.exs` |
| Command line path | `/bin/pleroma_ctl` | `/var/www/pleroma/live/bin/pleroma_ctl` |
## Things to remember
- The installation of Pleroma with Yunohost is a so-called OTP installation (and not MIX, i.e. from the sources). Have this in mind, as the administration _commands_ are not the same in either case.
- All commands must be run as the `pleroma` user, who is _not_ part of Yunohost `admin` group, its not possible to invoque these commands directly with `sudo`.

16
doc/yunohost_fr.md Normal file
View file

@ -0,0 +1,16 @@
# Pleroma et Yunohost
Quelques informations, à toutes fins utiles, sur les différences entre une installation directe de Pleroma (depuis les _releases_ du dépôt officiel) et linstallation avec le package dapplication de Yunohost.
| | Package officiel | Avec Yunohost |
| --------------------------- | -------------------------- | --------------------------------------- |
| Répertoire dinstallation | `/opt/pleroma` | `/var/www/pleroma/live/` |
| Répertoire statique | `/var/lib/pleroma/static` | `/etc/pleroma/config.exs` |
| Fichier de configuration | `/etc/pleroma/config.exs` | `/etc/pleroma/config.exs` |
| Ligne de commandes | `/bin/pleroma_ctl` | `/var/www/pleroma/live/bin/pleroma_ctl` |
## A noter
- Linstallation de Pleroma avec Yunohost est une installation dite OTP (et non MIX, cest à dire à partir des sources). Information à mémoriser, dans la mesure où les commandes dadministration ne sont pas les mêmes dans lun ou lautre cas.
- Toutes les commandes doivent être exécutées en tant quutilisateur `pleroma`, qui nest _pas_ membre du groupe `admin` de Yunohost, celle-ci ne peuvent donc être invoquées directement avec `sudo`.