2021-07-14 15:35:49 +00:00
|
|
|
# Keycloak Admin Console V2 Maven Build
|
|
|
|
|
|
|
|
The Maven build prepares the admin console to be deployed as a theme on the Keycloak server.
|
|
|
|
|
|
|
|
# Build Instructions
|
|
|
|
|
|
|
|
```bash
|
2021-07-16 08:43:59 +00:00
|
|
|
mvn install
|
2021-07-14 15:35:49 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
# Deployment
|
|
|
|
|
|
|
|
The jar created with `mvn install` needs to be deployed to a Maven repository. From there, it will become part of the Keycloak server build.
|
|
|
|
|
2021-07-27 09:24:36 +00:00
|
|
|
For development, you can also just copy the contents of `./target/classes` to `<keycloak server>/themes/keycloak.v2`. Then restart the server.
|
2021-07-14 15:35:49 +00:00
|
|
|
|
|
|
|
# To Run
|
|
|
|
|
|
|
|
Until New Admin Console becomes the default, you will need to start Keycloak server like this:
|
|
|
|
|
|
|
|
```bash
|
2022-01-07 12:01:58 +00:00
|
|
|
$> bin/standalone.sh -Dkeycloak.profile.feature.admin2=enabled
|
2021-07-14 15:35:49 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Then go to `Realm Settings --> Themes` and set Admin Console Theme to `keycloak.v2`.
|