Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrik authored Apr 10, 2024
1 parent 7393550 commit 4078b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4078b6e

Please sign in to comment.