[keycloak-user] Deploy Keycloak from within IntelliJ IDEA

Stian Thorgersen stian at redhat.com
Thu Jul 23 03:55:47 EDT 2015


Keycloak is not deployed as a WAR anymore, so there's no concept of deploying Keycloak to a WildFly server.

Are you forking/modifying Keycloak code? If so have a look at https://github.com/keycloak/keycloak/blob/master/misc/Testsuite.md#keycloak-server. There's KeycloakServer which contains a main method and can be ran directly from the IDE.

If you're not modifying Keycloak code and just developing your own apps I recommend either spinning up a standalone KC server, or to use the server-overlay download and add it to the WildFly server you deploy your apps to (this is only recommended for development btw).

----- Original Message -----
> From: "Rodrigo Sasaki" <rodrigopsasaki at gmail.com>
> To: keycloak-user at lists.jboss.org
> Sent: Wednesday, 22 July, 2015 7:24:42 PM
> Subject: [keycloak-user] Deploy Keycloak from within IntelliJ IDEA
> 
> Hello everyone,
> 
> I haven't used Keycloak since version 1.0.2, which we have now in production.
> But now Keycloak has so many new features that we decided to migrate to the
> 1.3.1.Final
> 
> This is a very specific issue, maybe this has already been discussed before,
> and if it has I'd like to ask you to direct me to that thread.
> 
> Anyways, I want to deploy Keycloak from within IntelliJ IDEA, on version
> 1.0.2 all I had to do was add an artifact of keycloak-server on the
> deployment and it was done, but that no longer exists and I don't seem to
> find a replacement for it.
> 
> What I do now is add a step to execute a maven goal to package the war and I
> created an artifact based on that war to deploy it, it works fine but I
> believe there must be a simpler solution, and doing it like this I can't use
> JRebel to hot deploy my alterations as well.
> 
> Is there a way to do what I'm trying to do? I'll be happy to provide you more
> information if necessary.
> 
> Cheers,
> Rodrigo Sasaki
> 
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user


More information about the keycloak-user mailing list