Change ZIP archive name to JAR

This commit is contained in:
fabienhinault 2018-08-27 13:52:45 +02:00 committed by Stian Thorgersen
parent 66ff057514
commit cc65f14af8

View file

@ -297,7 +297,7 @@ Themes can be deployed to {project_name} by copying the theme directory to `them
theme to the `themes` directory, but in production you may want to consider using an `archive`. An `archive` makes it simpler to have a versioned copy of theme to the `themes` directory, but in production you may want to consider using an `archive`. An `archive` makes it simpler to have a versioned copy of
the theme, especially when you have multiple instances of {project_name} for example with clustering. the theme, especially when you have multiple instances of {project_name} for example with clustering.
To deploy a theme as an archive you need to create a ZIP archive with the theme resources. You also need to add a file `META-INF/keycloak-themes.json` to the To deploy a theme as an archive you need to create a JAR archive with the theme resources. You also need to add a file `META-INF/keycloak-themes.json` to the
archive that lists the available themes in the archive as well as what types each theme provides. archive that lists the available themes in the archive as well as what types each theme provides.
For example for the `mytheme` theme create `mytheme.zip` with the contents: For example for the `mytheme` theme create `mytheme.zip` with the contents: