From 5e50725e9d89194cb1732873a9f9bc0357851489 Mon Sep 17 00:00:00 2001 From: Eliot <72140926+eliot488995568@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:02:08 +0100 Subject: [PATCH] doc: Add suggestion about create first admin user with command line (#6) --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de20468..68d4cab 100644 --- a/README.md +++ b/README.md @@ -142,8 +142,14 @@ docker compose exec app bin/console app:install docker compose exec app bin/console install # Clear cache docker compose exec app bin/console cache:clear -# Create your admin account +``` + +Before accessing the application, you need to create an admin user. Use the following command to create a user account: +```shell +# Create your admin account with the specified username and email docker compose exec app bin/console users:create -m username@roadiz.io -b -s username +# By default, a random password will be generated for the new user. +# If you want to set a custom password, you can add the -p option followed by your desired password ``` ### Manage Node-types