diff --git a/README.md b/README.md index 0d44b6363ac27b79f8c6d24f246b84a08a4b6c9f..2ce65b735dafa19f0758e6684b27ec5ef99377cd 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