Skip to content
Snippets Groups Projects
Commit 33f514bd authored by Murua Belacortu, Idoia's avatar Murua Belacortu, Idoia
Browse files

README initialization

parent 253626cd
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,24 @@ A client named `usagecontrol` and with the `citizen` role within the realm to be
## Installation
### Get the code
Clone this repository:
``` bash
git clone https://git.code.tecnalia.com/across/public/citizen-data-ownership-and-usage-control/usage-control/Usagecontrol.git
```
### Configure properties files
Check the following `*.env` files and change the property values as required:
- `./postgres.env`: this file contains the properties related to the PostgreSQL DB, as the username and password, to be used for creating the DB container.
- `./datausage.env`: this file contains properties to be used when creating the UsageControl container and related to:
- the information required to connect to the PostgreSQL DB.
- Some URL-s of the Identity Server (keycloak) to connect to, and information related to the clients and realm to use.
- The main URL of the Service Catalogue HTTP API.
- The main URL of the TD HTTP API.
- The URL of the PIP endpoint to get the number of times accessed a specific service, and to be used when doing the enforcement of the "N times usage" policy.
### Start containers
Create and start the containers specified in the docker-compose.yml file:
``` bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment