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 Mar 21, 2016 · 6 revisions

###Stop Keycloak

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

###Import CEDAR Theme

Copy CEDAR theme:

goconf
cp -a keycloak/standalone/configuration/themes/* $KEYCLOAK_HOME/standalone/configuration/themes/

###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=OVERWRITE_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