From 1b5e15c1cd43fc86e74f9fd2b51781446ebe5544 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 19 Jul 2023 11:09:01 +0200
Subject: [PATCH] Update README

---
 README.md | 36 +++++++++---------------------------
 1 file changed, 9 insertions(+), 27 deletions(-)

diff --git a/README.md b/README.md
index 0d44b636..2ce65b73 100644
--- a/README.md
+++ b/README.md
@@ -141,38 +141,20 @@ cd cc-qtl-db
 docker compose up --build
 ```
 
-<!-- This step can take a while, especially when building the Galaxy container for the first time (once it has been done, the re-build is a lot faster). -->
+#### 4. Login with the default admin account
 
-4. Restart the CCQTL backend in order to load the updated env variables.
+You need to have an account in order to use the CCQTL interface. A default admin account is created.
 
-```shell
-docker-compose restart server
-```
-
-<!--
-```shell
-docker-compose restart server
-docker-compose restart celery
-```
--->
-
-#### 4. Import the cc-qtl workflow to the Galaxy instance
+Go to [http://localhost:8889/](http://localhost:8889/) and login with the default admin account.
 
-You also need to load the cc-qtl workflow to the Galaxy instance.
+- username : `admin`
+- password : `password`
 
-```shell
-docker compose exec server python manage.py import-galaxy-workflow
-```
-
-#### 5. Create a superuser in order to login to the interface
-
-You need to have an account in order to use the CCQTL interface. Since it is a local deployment it is more convenient to have a super user account. You can create one by running this command:
-
-```shell
-docker compose exec server python manage.py createsuperuser
-```
+You can configure these default values with the environment variables define in the `.env` file:
 
-Go to [http://localhost:8889/](http://localhost:8889/) and login with the created account
+- `DJANGO_SUPERUSER_USERNAME`
+- `DJANGO_SUPERUSER_PASSWORD`
+- `DJANGO_SUPERUSER_EMAIL`
 
 ## Usage
 
-- 
GitLab