summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley D. Thornton <bradley@northtech.us>2019-07-17 22:35:16 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-07-28 22:47:21 +0000
commit8b1b3e84f4a606c71ea62771ea1ff7bd4971c290 (patch)
tree0f19a6a5bf7be281c1efd3c487070b7e521bf68b
parent1c364f74079a67a4f7c1cb805184b35c82e58c77 (diff)
Update otp_en.md - Added creation of initial admin user
-rw-r--r--docs/installation/otp_en.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/installation/otp_en.md b/docs/installation/otp_en.md
index 9b851e395..5b50e1838 100644
--- a/docs/installation/otp_en.md
+++ b/docs/installation/otp_en.md
@@ -242,6 +242,14 @@ So for example, if the task is `mix pleroma.user set admin --admin`, you should
```sh
su pleroma -s $SHELL -lc "./bin/pleroma_ctl user set admin --admin"
```
+
+## Create your first user and set as admin
+```sh
+cd /opt/pleroma/bin
+su pleroma -s $SHELL -lc "./bin/pleroma_ctl user new joeuser joeuser@sld.tld --admin"
+```
+This will create an account withe the username of 'joeuser' with the email address of joeuser@sld.tld, and set that user's account as an admin. This will result in a link that you can paste into the browser, which logs you in and enables you to set the password.
+
### Updating
Generally, doing the following is enough:
```sh