Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Import CEDAR Theme and Realm on OS X

Attila Levente EGYEDI edited this page Apr 5, 2017 · 6 revisions

Stop Keycloak

You can do this by pressing Ctrl-C in its console.

Import CEDAR Theme

Set up CEDAR theme:

mkdir $KEYCLOAK_HOME/themes/cedar
goutil
cp -r keycloak/themes/cedar/* $KEYCLOAK_HOME/themes/cedar/

Import CEDAR Realm

Go to the directory where the config data is located:

goconf
cd keycloak/realms

Import the Keycloak realm:

$KEYCLOAK_HOME/bin/standalone.sh -Dkeycloak.migration.action=import \
-Dkeycloak.migration.provider=singleFile \
-Dkeycloak.migration.file=keycloak-realm.CEDAR.metadatacenter.orgx.json \
-Dkeycloak.migration.strategy=IGNORE_EXISTING

Stop the Keycloak server (by pressing Ctrl-C in its console).

Start the Keycloak server in standalone mode:

$KEYCLOAK_HOME/bin/standalone.sh

or

gokk
./standalone.sh

or

startkk
Clone this wiki locally