... | ... | @@ -12,23 +12,23 @@ To be able to take advantage of the fully functional SDK4ED Dashboard, the user |
|
|
- **Step 1**: Download and install [Docker](https://www.docker.com/).
|
|
|
- **Step 2**: Clone the latest User Management service (Keycloak) version that can be found in the present Gitlab repository and navigate to the root directory.
|
|
|
- **Step 3**: Generate a self signed certificate on Ubuntu Developer machine [More info](https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-18-04).
|
|
|
- **Step 4**: Put the generated certificate and keys in Keycloak-nginx-master/ssl:
|
|
|
- **Step 4**: Copy the generated certificate and keys in Keycloak-nginx-master/ssl directory:
|
|
|
```
|
|
|
$ ls -la keycloak-nginx-master/ssl/
|
|
|
total 16
|
|
|
drwxrwxr-x 2 beza beza 4096 jun 26 14:09 .
|
|
|
drwxrwxr-x 3 beza beza 4096 mei 28 11:27 ..
|
|
|
-rw-rw-r-- 1 beza beza 1395 jun 26 12:37 nginx-selfsigned-beza.crt
|
|
|
-rw-rw-r-- 1 beza beza 1708 jun 26 12:37 nginx-selfsigned-beza.key
|
|
|
drwxrwxr-x 2 root root 4096 jun 26 14:09 .
|
|
|
drwxrwxr-x 3 root root 4096 mei 28 11:27 ..
|
|
|
-rw-rw-r-- 1 root root 1395 jun 26 12:37 nginx-selfsigned-beza.crt
|
|
|
-rw-rw-r-- 1 root root 1708 jun 26 12:37 nginx-selfsigned-beza.key
|
|
|
```
|
|
|
- **Step 5**: Open cmd and run the following command:
|
|
|
```bash
|
|
|
`docker-compose up`
|
|
|
```
|
|
|
- **Step 5**: Log on to the Administration console by using the credentials you configured for keycloak admin (in your 'docker-compose.yml' file).
|
|
|
- **Step 6**: Create a new realm - SDK4ED.
|
|
|
- **Step 7**: Add a user in the Keycloak Administration Console (this user will be used to login to the dashboard).
|
|
|
- **Step 8**: Add the SDK4ED Dashboard URI to valid redirect uri's list in `KeyCloak Admin Console > Clients > Settings > Valid Redirect URIs` to allow redirect to the dashboard. (prevents `invalid redirect_uri` error after keycloak login).
|
|
|
- **Step 6**: Navigate to https://<KEYCLOAK-IP>:<KEYCLOAK-PORT/keycloak/auth/ and log in to the Administration console by using the keycloak admin credentials (configured in 'docker-compose.yml' file).
|
|
|
- **Step 7**: Create a new realm named *SDK4ED*.
|
|
|
- **Step 8**: Add a user in the Keycloak Administration Console (this user will be used to login to the dashboard).
|
|
|
- **Step 9**: Add the SDK4ED Dashboard URI to valid redirect uri's list in `KeyCloak Admin Console > Clients > Settings > Valid Redirect URIs` to allow redirect to the dashboard. (prevents `invalid redirect_uri` error after keycloak login).
|
|
|
|
|
|
## Installation of SDK4ED Dashboard
|
|
|
- **Step 1**: Clone the latest SDK4ED Dashboard version that can be found in the present Gitlab repository and navigate to the root directory.
|
... | ... | |