From 5db198e6a5b66a5531703a9ad57361bc60258667 Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Thu, 7 Dec 2023 15:53:02 -0500 Subject: [PATCH] updated greenlight docs to include user:set_admin_role rake task (#19311) Co-authored-by: SilentFlameCR --- docs/docs/greenlight/v3/install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/greenlight/v3/install.md b/docs/docs/greenlight/v3/install.md index 380dba2b93..7169143b20 100644 --- a/docs/docs/greenlight/v3/install.md +++ b/docs/docs/greenlight/v3/install.md @@ -48,6 +48,12 @@ You can also run it without any arguments to create the default admin account, w docker exec -it greenlight-v3 bundle exec rake admin:create ``` +### Upgrading an existing account to an Admin Account + +You can do that by running the following command: +```bash +docker exec -it greenlight-v3 bundle exec rake user:set_admin_role['email'] +``` ## Installing on a Standalone Server ### Greenlight Install Script