aboutsummaryrefslogtreecommitdiff
path: root/docs/installation/otp_en.md
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2019-07-18 23:38:38 +0300
committerMaxim Filippov <colixer@gmail.com>2019-07-18 23:38:38 +0300
commit9570a5be405c4cf4f07907eab4ced21e07fa20c9 (patch)
tree9575741206d0604e74ab2d8f719c3da0a3002b1d /docs/installation/otp_en.md
parent418ae6638d64c915ce4dae742dd493f43c8025d8 (diff)
parent16cfee708ec8e9c6cbbeb15432127c7757c5c173 (diff)
downloadpleroma-9570a5be405c4cf4f07907eab4ced21e07fa20c9.tar.gz
Merge branch 'develop' into feature/admin-api-user-statuses
Diffstat (limited to 'docs/installation/otp_en.md')
-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