Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
b42398d3
Commit
b42398d3
authored
Jul 28, 2016
by
Harsh Chauhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix standup-db.sh
parent
d1bb106f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
standup-db.sh
contrib/standup-db.sh
+3
-3
No files found.
contrib/standup-db.sh
View file @
b42398d3
...
@@ -69,17 +69,17 @@ EOF
...
@@ -69,17 +69,17 @@ EOF
export
DEX_WORKER_DB_URL
=
$DEX_DB_URL
export
DEX_WORKER_DB_URL
=
$DEX_DB_URL
export
DEX_WORKER_KEY_SECRETS
=
$DEX_KEY_SECRET
export
DEX_WORKER_KEY_SECRETS
=
$DEX_KEY_SECRET
export
DEX_WORKER_LOG_DEBUG
=
1
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
export
DEX_WORKER_ENABLE_REGISTRATION
=
true
./bin/dex-worker &
./bin/dex-worker &
echo
"Waiting for worker to start..."
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
'.'
printf
'.'
sleep
1
sleep
1
done
done
# Start the app
# 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"
# 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
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment