Copy .env.example into the server and update all the secrets.
Run docker compose build.
Run docker compose run --rm -e CMD="migrate" rems.
Run docker compose up -d rems.
Enter in REMS docker container.
Configure the admin user.
Configure access-management-service apikey, for any user and any REST method, but limited to /api/users/create,/api/catalogue-items,/api/my-applications,/api/applications/.*.
Configure rems-synchronizer apikey and robot for any REST method, but limited to /api/organizations.*,/api/forms.*,/api/workflows.*,/api/resources.*,/api/catalogue-items.*.
Configure ls-aai apikey and robot, limited to GET /api/permissions/.*.
Include in the environment variables the newly created apikeys and users.
Run docker compose up -d.
Log into CKAN as sysadmin.
Add the harvest sources.
Wait for REMS Synchronizer or run it manually.
Access Keycloak.
Configure LS-AAI IdP.
Add Claim to User Attribute mapper, that maps the clain clain sub into elixir_id.
Create a new OIDC realm for GDI, that accepts redirections to User Portal, CKAN and REMS.
Create a new client scope for GDI realm.
Add new User Attribute Mapper, that maps the attribute elixir_id into a claim called elixir_id and a scope called elixir_id.
Create a new client for User Portal, REMS and CKAN.
Add the scope elixir_id into the newly created client.