digitaldemocratic/config/Makefile

14 lines
486 B
Makefile
Raw Normal View History

2021-04-08 13:52:16 +02:00
#!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