1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/akkoma_ynh.git synced 2024-09-03 20:36:17 +02:00

Merge pull request #13 from YunoHost-Apps/testing

Documentation (Akkoma ynh vs standard) + config file fix (admin 500 error)
This commit is contained in:
lapineige 2023-01-16 20:21:52 +01:00 committed by GitHub
commit 855ae4d324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 46 additions and 12 deletions

View file

@ -5,15 +5,15 @@ It shall NOT be edited by hand.
# Akkoma pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/akkoma.svg)](https://dash.yunohost.org/appci/app/akkoma) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/akkoma.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/akkoma.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/akkoma.svg)](https://dash.yunohost.org/appci/app/akkoma) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/akkoma.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/akkoma.maintain.svg)
[![Installer Akkoma avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=akkoma)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Akkoma rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
> *Ce package vous permet dinstaller Akkoma rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble
## Vue densemble
Akkoma is a microblogging server software that can federate (= exchange messages with) other servers that support ActivityPub. What that means is that you can host a server for yourself or your friends and stay in control of your online identity, but still exchange messages with people on larger servers. Akkoma will federate with all servers that implement ActivityPub, like Friendica, GNU Social, Hubzilla, Mastodon, Misskey, Pleroma, Peertube, and Pixelfed.
@ -25,9 +25,9 @@ Akkoma is a microblogging server software that can federate (= exchange messages
**Démo :** https://otp.akkoma.dev
## Captures d'écran
## Captures décran
![Capture d'écran de Akkoma](./doc/screenshots/screenshot1.png)
![Capture décran de Akkoma](./doc/screenshots/screenshot1.png)
## Avertissements / informations importantes
@ -71,9 +71,9 @@ You can make users **moderators**. They will then be able to **delete any post**
## Documentations et ressources
* Site officiel de l'app : <https://akkoma.social/>
* Documentation officielle de l'admin : <https://docs.akkoma.dev/stable/>
* Dépôt de code officiel de l'app : <https://akkoma.dev/AkkomaGang/akkoma/>
* Site officiel de lapp : <https://akkoma.social/>
* Documentation officielle de ladmin : <https://docs.akkoma.dev/stable/>
* Dépôt de code officiel de lapp : <https://akkoma.dev/AkkomaGang/akkoma/>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_akkoma>
* Signaler un bug : <https://github.com/YunoHost-Apps/akkoma_ynh/issues>
@ -89,4 +89,4 @@ ou
sudo yunohost app upgrade akkoma -u https://github.com/YunoHost-Apps/akkoma_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -1,5 +1,5 @@
config :akkoma, Akkoma.Web.Auth.Authenticator, Akkoma.Web.Auth.LDAPAuthenticator
config :akkoma, :ldap,
config :pleroma, Pleroma.Web.Auth.Authenticator, Pleroma.Web.Auth.LDAPAuthenticator
config :pleroma, :ldap,
enabled: true,
host: "localhost",
port: 389,

17
doc/yunohost.md Normal file
View file

@ -0,0 +1,17 @@
# Akkoma and Yunohost
Some information, for all intents and purposes, on the differences between a direct installation of Akkoma (from the _releases_) and installation with the Yunohost application package.
| | Official Package | With Yunohost |
| --------------------------- | -------------------------- | --------------------------------------- |
| Install directory | `/opt/akkoma` | `/var/www/akkoma/live/` |
| RStatic directory | `/var/lib/akkoma/static` | `/etc/akkoma/config.exs` |
| Configuration file | `/etc/akkoma/config.exs` | `/etc/akkoma/config.exs` |
| Command line path | `/bin/pleroma_ctl` | `/var/www/akkoma/live/bin/pleroma_ctl` |
## Things to remember
- The installation of Akkoma 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.
- Akkoma is a _fork_ of Pleroma, so the administration command is indeed `pleroma_ctl` (this is not a typo).

17
doc/yunohost_fr.md Normal file
View file

@ -0,0 +1,17 @@
# Akkoma et Yunohost
Quelques informations, à toutes fins utiles, sur les différences entre une installation directe dAkkoma (depuis les _releases_) et linstallation avec le package dapplication de Yunohost.
| | Package officiel | Avec Yunohost |
| --------------------------- | -------------------------- | --------------------------------------- |
| Répertoire dinstallation | `/opt/akkoma` | `/var/www/akkoma/live/` |
| Répertoire statique | `/var/lib/akkoma/static` | `/etc/akkoma/config.exs` |
| Fichier de configuration | `/etc/akkoma/config.exs` | `/etc/akkoma/config.exs` |
| Ligne de commandes | `/bin/pleroma_ctl` | `/var/www/akkoma/live/bin/pleroma_ctl` |
## A noter
- Linstallation dAkkoma 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.
- Akkoma est un _fork_ (divergence) de Pleroma, la commande dadministration est donc bien `pleroma_ctl` (ce nest pas une faute de saisie).