Annotation Manager: users creation
After deploying the platform, configure the Annotation Manager by performing the following steps:
- Create an admin user
- Create one or more reviewer accounts
1. Create Admin User
To create the admin (superuser) account, run the following command:
./compose.sh exec promort-web python manage.py createsuperuser
You will be prompted to enter:
- Username
- Email address
- Password (entered twice for confirmation)
Example output:
user@host:~/cdpp-workflows$ ./compose.sh exec promort-web python manage.py createsuperuser
WARN[0000] The "CWLDOCKER_ENV" variable is not set. Defaulting to a blank string.
WARN[0000] The "CWLDOCKER_PID" variable is not set. Defaulting to a blank string.
...
/home/lianas/cdpp-workflows/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored...
Username: cdpp_admin
Email address: cdpp.admin@crs4.it
Password:
Password (again):
Superuser created successfully.
2. Create CDPP Reviewer
Once the admin user is created, log in to the Django Admin interface at:
http://<your_hostname>/admin/
Use the superuser credentials to log in. To create a reviewer account:
Click Add user in the Django Admin dashboard:
Enter the desired username and password, then click Save and continue editing:
Fill in the user’s personal information and assign the user to the following groups:
ROIS_MANAGERS
CLINICAL_MANAGERS
When finished, click Save.
You should now see the new user in the list:
Repeat this process to create additional reviewer accounts.