Custom Keycloak theme for the CoffeeNet
npm run buildputs files into thedistdirectory- these files can be used as keycloak theme
Releases are automatically done by GitHub Action on master commits. The pipeline creates a docker container available in this repository container registry
At first build the theme once
npm install && npm run buildStart a local keycloak instance with this theme and configuration mounted:
docker run --name keycloak -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=secret -v $(pwd)/dist:/opt/jboss/keycloak/themes/coffeenet -v $(pwd)/dev/standalone.xml:/opt/jboss/keycloak/standalone/configuration/standalone.xml --rm jboss/keycloak:latestThen you can start the theme compilation watcher and start hacking. Just reload the browser after changing the files.
npm run dev