diff options
author | kaniini <ariadne@dereferenced.org> | 2019-07-29 16:28:53 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-07-29 16:28:53 +0000 |
commit | ce6dfb6f066616553d8594fd6ffadcc96ad1daff (patch) | |
tree | b7b4022f45fd01233bf76138d5222b81f16e8ad4 /docs/installation/otp_en.md | |
parent | 5cb37412a21420509f61027fe486ae66242f800a (diff) | |
parent | d9aacbec4d8e787ff9f62427a120d28366463a7f (diff) | |
download | pleroma-1.0.2.tar.gz |
Merge branch 'release/1.0.2' into 'master'v1.0.2
1.0.2 release
See merge request pleroma/pleroma!1499
Diffstat (limited to 'docs/installation/otp_en.md')
-rw-r--r-- | docs/installation/otp_en.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/installation/otp_en.md b/docs/installation/otp_en.md index fa71f23e1..5b50e1838 100644 --- a/docs/installation/otp_en.md +++ b/docs/installation/otp_en.md @@ -207,7 +207,7 @@ certbot renew --cert-name yourinstance.tld --webroot -w /var/lib/letsencrypt/ -- # Add it to the daily cron echo '#!/bin/sh -certbot renew --cert-name yourinstance.tld --webroot -w /var/lib/letsencrypt/ --dry-run --post-hook "systemctl reload nginx" +certbot renew --cert-name yourinstance.tld --webroot -w /var/lib/letsencrypt/ --post-hook "systemctl reload nginx" ' > /etc/cron.daily/renew-pleroma-cert chmod +x /etc/cron.daily/renew-pleroma-cert @@ -228,7 +228,7 @@ certbot renew --cert-name yourinstance.tld --webroot -w /var/lib/letsencrypt/ -- # Add it to the daily cron echo '#!/bin/sh -certbot renew --cert-name yourinstance.tld --webroot -w /var/lib/letsencrypt/ --dry-run --post-hook "rc-service nginx reload" +certbot renew --cert-name yourinstance.tld --webroot -w /var/lib/letsencrypt/ --post-hook "rc-service nginx reload" ' > /etc/periodic/daily/renew-pleroma-cert chmod +x /etc/periodic/daily/renew-pleroma-cert @@ -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 |