Find here the Beacon Network Backend repository.
You will need to have created your Life Science and Keycloak environments before. Tip: for Life Science environment, please first create a user . After that you will need to register a service registry in order to be able to administrate your logins. Please go here and ask for a New Service - type OIDC -.
Now please proceed to execute the next command in order to deploy the UI.
docker-compose up -d –buildThen please edit the file config.json, which can be found inside folder frontend/public. This file is read by the UI at startup, so it can be swapped per environment without rebuilding the app. You need to decide where you want the UI to point to when making requests, and fill in your Life Science and Keycloak credentials. Find below an example:
{
"API_URL": "https://yourAPIdomain.com/beacon-network/v2.0.0",
"REDIRECT_URL": "https://yourUIdomain.com",
"KEYCLOAK_URL": "https://yourKEYCLOAKdomain.com",
"CLIENT_ID": "ID of your LS Login",
"CLIENT_SECRET": "password of your LS Login",
"KEYCLOAK_CLIENT_SECRET": "password of your Keycloak login"
}