[keycloak-dev] Simple way to run Keycloak server during development

Stian Thorgersen stian at redhat.com
Sat Oct 12 08:02:20 EDT 2013

First build a clean copy of the project

# mvn clean install

Then start the server with:

# mvn -pl testsuite/integration exec:java -Pkeycloak-server

If you're working on the admin console or forms* you can add -Dresources when starting the server, this will serve html, css and images directly from the filesystem so you don't need to rebuild/restart the server to see changes:

# mvn -pl testsuite/integration exec:java -Pkeycloak-server -Dresources

* Note: for forms this will only work for css and images as the templates are loaded from the classpath

More information about the keycloak-dev mailing list