Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 943 Bytes

readme.md

File metadata and controls

27 lines (21 loc) · 943 Bytes

Usage

Setup Environment

  • Java 11
  • Docker

Build

Implement KeyCloak server on docker

  1. Run docker container
docker run -d -p 8080:8080 --name kc -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:18.0.0 start-dev
  1. Go to http://localhost:8080/admin/ and log in to the Keycloak Admin Console.
  2. Mouse over the Master, then click Add relm, select files .\keycloak-realms\{branch1 | branch2 | carrier}-export.json, then click Create for each
  3. Click the Manage/Users, then add user
    • user with ROLE USER and,

      admin with ROLE ADMIN on branch1 and branch2

    • maintainer with ROLE MAINTAINER on carrier

Run Spring Boot with API server

  1. mvn clean install
  2. mvn spring-boot:run