source: darkpeak-services/roles/pleroma/README.md @ 270d2937

keycloakpleroma
Last change on this file since 270d2937 was 270d2937, checked in by Caolan McMahon <caolan.mcmahon@…>, 2 years ago

pleroma: add notes on generating a registration token for new users

  • Property mode set to 100644
File size: 696 bytes
Line 
1# Administration
2
3## Generating an invite token
4
5```
6sudo su pleroma
7cd ~/pleroma
8MIX_ENV=prod mix generate_invite_token
9```
10
11This generates a URL that can be used to sign up for a Pleroma account.
12
13## Adding users manually
14
15```
16sudo su pleroma
17cd ~/pleroma
18MIX_ENV=prod mix register_user <name> <nickname> <email> <bio> <password>
19```
20
21The name appears on statuses, while the nickname corresponds to the
22user, e.g. @nickname@instance.tld. The nickname should just be the
23part preceeding the domain, without the '@' symbol.
24
25## Password reset
26
27```
28sudo su pleroma
29cd ~/pleroma
30MIX_ENV=prod mix generate_password_reset <nickname>
31```
32
33This generates a password reset URL you can send to the user.
Note: See TracBrowser for help on using the repository browser.