- Install .NET 8.0 SDK
- Run
dotnet build - Install Postgres
- Create
keycloakdatabase - Install KeyCloak 22.0.5
- Copy
keycloakConfig/realm.jsontokeycloak-22.0.5/data/importdirectory - Go to
keycloak-22.0.5/bin - Run
kc.[sh/bat] start-dev --import-realm --db postgres --db-username <username> --db-password <password>
- Run:
docker compose up - Add an entry to hosts file for linux
/etc/hostsor for windowsC:\Windows\System32\Drivers\etc\hosts:127.0.0.1 mykeycloak