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

update README.md

This commit is contained in:
Yalh 2019-01-25 12:27:59 +01:00 committed by yalh76
parent b5fb43dff7
commit 48cb07a533

View file

@ -51,20 +51,17 @@ How to configure this app: by an admin panel, a plain file with SSH, or any othe
## Admin Tasks ## Admin Tasks
Go to **cd /var/www/pleroma/pleroma**. Go to **cd /var/www/pleroma/pleroma**.
### Register a User ### Adding users
**Run:** **Run:**
$ sudo -u pleroma MIX_ENV=prod mix register_user <name> <nickname> <email> <bio> <password> $ sudo -u pleroma MIX_ENV=prod mix pleroma.user new <NICKNAME> <EMAIL>
The **name** appears on **statuses**, while the **nickname** corresponds to the **user**, e.g. @nickname@instance.tld
### Password reset ### Password reset
**Run:** **Run:**
$ MIX_ENV=prod mix generate_password_reset username $ MIX_ENV=prod mix pleroma.user reset_password <NICKNAME>
This will generate a **password reset link** that you can then send to the user. This will generate a **password reset link** that you can then send to the user.
@ -75,9 +72,9 @@ You can make users **moderators**. They will then be able to **delete any post**
**Run:** **Run:**
$ MIX_ENV=prod mix set_moderator username [true|false] $ MIX_ENV=prod mix pleroma.user set <NICKNAME> --[no-]admin
**True** option will **make the user moderator** and **flase** will **take away the moderator privileges** from the user. **--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user.
## Documentation ## Documentation