From e272e31349a96ab5ff02170ab72a1651de91a527 Mon Sep 17 00:00:00 2001 From: nitrophenol Date: Tue, 26 Dec 2023 00:35:49 +0530 Subject: [PATCH 1/2] fixed spacing --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0078d812..9461456b 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,9 @@ Sugarizer Server Dashboard is an admin tool for teachers and deployment administ To login to the Dashboard the first time, you will have to create an admin account using this command: sh add-admin.sh admin password http://127.0.0.1:8080/auth/signup - +If Sugarizer Server was deployed using Docker Compose, use these commands to create an admin account: + docker-compose exec server bash + sh add-admin.sh admin password http://127.0.0.1:80/auth/signup Note: For security reasons, the script should be launched from the local machine. On Docker, attach a new shell to the container and launch the script from this shell - in that case the port to use should be 80, not 8080. Where **admin** is the login for the new admin account and **password** is the password. From 1e3e6aa42da9410d0ba3896745cffb0c5ede3710 Mon Sep 17 00:00:00 2001 From: nitrophenol Date: Tue, 26 Dec 2023 12:18:38 +0530 Subject: [PATCH 2/2] minor changes --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9461456b..20eb536f 100644 --- a/README.md +++ b/README.md @@ -129,9 +129,12 @@ Sugarizer Server Dashboard is an admin tool for teachers and deployment administ To login to the Dashboard the first time, you will have to create an admin account using this command: sh add-admin.sh admin password http://127.0.0.1:8080/auth/signup + If Sugarizer Server was deployed using Docker Compose, use these commands to create an admin account: + docker-compose exec server bash sh add-admin.sh admin password http://127.0.0.1:80/auth/signup + Note: For security reasons, the script should be launched from the local machine. On Docker, attach a new shell to the container and launch the script from this shell - in that case the port to use should be 80, not 8080. Where **admin** is the login for the new admin account and **password** is the password.