diff --git a/README.md b/README.md index 290cf5c..a0308fb 100644 --- a/README.md +++ b/README.md @@ -78,14 +78,14 @@ First, build and load the local python environment: Then, start an instance of Keycloak in another terminal: - docker run --rm -it -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:latest -Djboss.bind.address.private=127.0.0.1 -Djboss.bind.address=0.0.0.0 + docker run --rm -it -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -e KC_HTTP_ENABLED=true -e KC_HTTP_RELATIVE_PATH=/auth quay.io/keycloak/keycloak:24.0.2 start-dev Keycloak may take a minute to start. If it does not, check your network settings, as it does not play well with VPNs and other more exotic network situations. Finally, run the tests: - keycloak_url=http://localhost:8080 username=admin password=admin pytest + KEYCLOAK_URL=http://localhost:8080 USERNAME=admin PASSWORD=admin pytest ### Getting Test Coverage