commit: 7eded7218922b46c5cc085e715b6031ffff9b6ce
parent 7183655a072375603de46dea341c21b099deed7a
Author: Mark Felder <feld@feld.me>
Date: Tue, 20 Apr 2021 12:31:14 -0500
Fix incorrect shell command
Can't be in /opt/pleroma/bin and then call ./bin/pleroma_ctl :)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/installation/otp_en.md b/docs/installation/otp_en.md
@@ -290,7 +290,7 @@ nginx -t
## Create your first user and set as admin
```sh
-cd /opt/pleroma/bin
+cd /opt/pleroma
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.