Update README.md

This commit is contained in:
A 2025-05-05 10:01:10 -07:00 committed by GitHub
parent 7f8d693bb9
commit 948e47f067
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,3 +19,12 @@ SMTP_ENABLE_STARTTLS=
SMTP_TLS= SMTP_TLS=
SMTP_SSL= SMTP_SSL=
``` ```
## Creating an admin user
How to create an admin user can be found in the [admin cli documentation](https://docs.joinmastodon.org/admin/tootctl/). You will need to run these commands within the `compose-mastodon-web` docker container. Example:
```
tootctl accounts create dcomms-admin --email dcomms-admin@example.org --role Owner --confirmed
```
This will display a automatically generated password that can be used on first login.