login.lumbung.space/README.md

39 lines
1.7 KiB
Markdown
Raw Normal View History

2021-05-05 09:37:28 +00:00
# login.lumbung.space
2021-05-05 11:13:10 +00:00
[![Build Status](https://drone.autonomic.zone/api/badges/ruangrupa/login.lumbung.space/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/ruangrupa/login.lumbung.space)
2021-05-05 09:42:39 +00:00
> [login.lumbung.space](https://login.lumbung.space)
2021-05-05 09:37:28 +00:00
[Custom theming](https://www.keycloak.org/docs/latest/server_development/index.html#_themes) for the Keycloak SSO service.
2021-05-05 09:53:58 +00:00
Please see [default-themes/README.md](./default-themes/README.md) and [lumbung.space/README.md](./lumbung.space/README.md) for more info.
2021-05-05 11:31:10 +00:00
## Deployment
Just send commits and the [Drone CI/CD configuration](./.drone.yml) will take care of the rest.
## Local Hacking
You'll need a local [Docker](https://docs.docker.com/engine/install/debian/) installation.
Then run a local Keycloak and mount the theme into the container with:
```bash
docker run \
-p 8080:8080 \
-v $(pwd)/lumbung.space:/opt/jboss/keycloak/themes/lumbung.space \
-e KEYCLOAK_USER=admin \
-e KEYCLOAK_PASSWORD=admin \
jboss/keycloak:12.0.4
```
Then you can log into [localhost:8080](http://localhost:8080) with username: `admin` and password: `admin`.
See related documentation and tutorials for the hacking:
- [Create a custom theme for Keycloak](https://auscunningham.medium.com/create-a-custom-theme-for-keycloak-8781207be604)
- [Change Login Theme in Keycloak Docker image](https://austincunningham.ddns.net/2020/changekeycloakdockertheme)
- [Keycloak themes documentation](https://www.keycloak.org/docs/latest/server_development/index.html#_themes)
- [Keycloak Github repo for default themes](https://github.com/keycloak/keycloak/tree/master/themes/src/main/resources/theme)
- [Keycloak container documentation](https://github.com/keycloak/keycloak-containers/tree/master/server)