From b42398d3ab1db30f7957cc9db4344c5dc71c415e Mon Sep 17 00:00:00 2001 From: Harsh Chauhan Date: Thu, 28 Jul 2016 15:47:32 -0700 Subject: [PATCH] Fix standup-db.sh --- contrib/standup-db.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/standup-db.sh b/contrib/standup-db.sh index 7b436dcf..e04eb162 100644 --- a/contrib/standup-db.sh +++ b/contrib/standup-db.sh @@ -69,17 +69,17 @@ EOF export DEX_WORKER_DB_URL=$DEX_DB_URL export DEX_WORKER_KEY_SECRETS=$DEX_KEY_SECRET export DEX_WORKER_LOG_DEBUG=1 -export DEX_WORKER_EMAIL_CFG=static/fixtures/emailer.json.sample +export DEX_WORKER_EMAIL_CFG=static/fixtures/emailer.json export DEX_WORKER_ENABLE_REGISTRATION=true ./bin/dex-worker & echo "Waiting for worker to start..." -until $(curl --output /dev/null --silent --fail http://localhost:5556/health); do +until $(curl --output /dev/null --silent --fail http://localhost:5556/dex/health); do printf '.' sleep 1 done # Start the app -./bin/example-app --client-id=$DEX_APP_CLIENT_ID --client-secret=$DEX_APP_CLIENT_SECRET --discovery=http://127.0.0.1:5556 & +./bin/example-app --client-id=$DEX_APP_CLIENT_ID --client-secret=$DEX_APP_CLIENT_SECRET --discovery=http://127.0.0.1:5556/dex & # Create Admin User - the password is a hash of the word "password" curl -X POST --data '{"email":"admin@example.com","password":"$2a$04$J54iz31fhYfXIRVglUMmpufY6TKf/vvwc9pv8zWog7X/LFrFfkNQe" }' --header "Authorization: $DEX_OVERLORD_ADMIN_API_SECRET" http://127.0.0.1:5557/api/v1/admin