Skip to content

Commit 410b77c

Browse files
committed
Spell check + tip for create user
1 parent 3509e14 commit 410b77c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/server/install/index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,19 @@ $ docker-compose -f docker-compose.yml up
3636
```
3737
​​
3838
### Initialise database
39-
If server is started for the first time, database needs to be initialised and super-user created. Use the `init` command which will perform it automatically (check the command outputs to get the password):
39+
If server is started for the first time, database needs to be initialised and super-user created. Use the `init` command which will perform it automatically (the command generates password for the admin account):
4040
```shell
4141
$ docker exec merginmaps-server flask init
4242
```
4343

44-
If you don't have `CONTACT_EMAIL` variabe set, you will be asked to provide a super user email using the `-e`/`--email` option. The `init` will also check your server setup (celery jobs, emails, etc.) and print out a list of missing variables. If you see any errors in the console output, you can run the command again as the database and super user will not be re-initialized.
44+
If you don't have `CONTACT_EMAIL` variable set, you will be asked to provide a super user email using the `-e`/`--email` option. The `init` will also check your server setup (celery jobs, emails, etc.) and print out a list of missing variables. If you see any errors in the console output, you can run the command again as the database and super user will not be re-initialised.
45+
46+
:::tip
47+
If you want to create another users manually, you can use the following command:
48+
```shell
49+
$ docker exec merginmaps-server flask user create <username> <password> --is-admin --email <email>
50+
```
51+
:::
4552

4653
### Setup environment
4754

0 commit comments

Comments
 (0)