digitaldemocratic/config/Makefile

14 lines
486 B
Makefile

#!make
include ../digitaldemocratic.conf
export $(shell sed 's/=.*//' ../digitaldemocratic.conf)
VERSION := 0.0.1-rc0
export VERSION
dump-keycloak-realm:
docker exec -i isard-sso-keycloak sh -c '/opt/jboss/keycloak/bin/kcadm.sh \
config credentials --server http://localhost:8080/auth \
--realm master --user $(KEYCLOAK_ADMIN_USER) --password $(KEYCLOAK_ADMIN_PASSWORD) &> /dev/null && \
/opt/jboss/keycloak/bin/kcadm.sh \
get realms/DigitalDemocratic' > keycloak/realm.json