- Tags
- Par catégories
- Mémo
- Yunohost
- LAB
- Vintage
- Ressources
Ceci est une ancienne révision du document !
cd /var/www/pleroma/pleroma MIX_ENV=prod mix pleroma.user new <username> <emailL>
Différentes options peuvent être ajoutées lors de la création d’un compte :
–name <name>
– the user’s display name–bio <bio>
– the user’s bio–password <password>
– the user’s password–moderator/–no-moderator
– whether the user should be a moderator–admin/–no-admin
– whether the user should be an admin-y, –assume-yes/–no-assume-yes
– whether to assume yes to all questionscd /var/www/pleroma/pleroma sudo MIX_ENV=prod mix pleroma.user toggle_activated <username>
cd /var/www/pleroma/pleroma sudo MIX_ENV=prod mix pleroma.user toggle_activated <username>
==== Supprimer les interactions d’un utilisateur (ne fonctionne pas chez moi ??) ====
cd /var/www/pleroma/pleroma sudo MIX_ENV=prod mix pleroma.user toggle_activated <username>
instance/static/custom
Fichier emoji.txt
/var/www/pleroma/pleroma/config/emoji.txt
sudo systemctl restart pleroma
Fichier de config : /etc/pleroma/config.exs
Répertoire static (emojis) : /home/yunohost.app/pleroma/static
Répertoire uploads : /home/yunohost.app/pleroma/uploads
Dans Yunohost, répertoire static :
/var/www/pleroma/pleroma/lib/pleroma-2.0.5-stable/priv/static/static
Pour l’image nsfw : /var/www/pleroma/pleroma/lib/pleroma-2.0.5-stable/priv/static/static/img
Mascotte :
Par défaut : pleroma_fox_tan
Dans Yunohost, image dans : var/www/pleroma/pleroma/lib/pleroma-2.0.5-stable/priv/static/images/
config :pleroma, :assets, mascots: [ pleroma_fox_tan: %{ url: "/images/pleroma-fox-tan-smol.png", mime_type: "image/png" }, pleroma_fox_tan_shy: %{ url: "/images/pleroma-fox-tan-shy.png", mime_type: "image/png" } ],