diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-10-03 19:35:26 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-10-03 19:35:26 +0100 |
commit | 34ed316584df916f6959808669c998580f76d88f (patch) | |
tree | 5bc655d51fddeead16bb19476f4537880b2dd1dd /docs | |
parent | ba66b5a3b9844f4cb3b3f8f2c814894ebb415695 (diff) |
Fix docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/administration/1_createusers.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/administration/1_createusers.md b/docs/administration/1_createusers.md index 94399a04..24eba666 100644 --- a/docs/administration/1_createusers.md +++ b/docs/administration/1_createusers.md @@ -1,4 +1,3 @@ - --- title: Creating user accounts parent: Administration @@ -15,7 +14,7 @@ User accounts can be created on a Dendrite instance in a number of ways. The `create-account` tool is built in the `bin` folder when building Dendrite with the `build.sh` script. -It uses the `dendrite.yaml` configuration file to connect to a running Dendrite instance and requires +It uses the `dendrite.yaml` configuration file to connect to a running Dendrite instance and requires shared secret registration to be enabled as explained below. An example of using `create-account` to create a **normal account**: @@ -32,7 +31,7 @@ To create a new **admin account**, add the `-admin` flag: ./bin/create-account -config /path/to/dendrite.yaml -username USERNAME -admin ``` -By default `create-account` uses `http://localhost:8008` to connect to Dendrite, this can be overwritten using +By default `create-account` uses `http://localhost:8008` to connect to Dendrite, this can be overwritten using the `-url` flag: ```bash @@ -44,6 +43,7 @@ An example of using `create-account` when running in **Docker**, having found th ```bash docker exec -it CONTAINERNAME /usr/bin/create-account -config /path/to/dendrite.yaml -username USERNAME ``` + ```bash docker exec -it CONTAINERNAME /usr/bin/create-account -config /path/to/dendrite.yaml -username USERNAME -admin ``` |