diff --git a/README.md b/README.md index 4e13ee2..f5b40dc 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ This repository includes: - [Test your setup](#test-your-setup) - [Using the `status` command:](#using-the-status-command) - [Using the `test_setup` command:](#using-the-test_setup-command) + - [Create your first admin user](#create-your-first-admin-user) ## Getting Started @@ -217,6 +218,26 @@ Config file loaded successfully. +-------------------------------------------+ ``` + + +## Create your first admin user + +We recommend creating one admin user, and use that to create normal users via the API. + +To create your first admin user, simply use the `create_user` command: + +```bash +$ db-middleware create_user +Config file loaded successfully. +Enter username: myadmin +Enter role (admin/user): admin + ++-----------------------------------------------------------------------------+ +| > User 'myadmin' with role 'admin' created successfully. | +| > API Key: 4887f28e378dfd99e622833ccbebc174a45d | ++-----------------------------------------------------------------------------+ +``` + ---