forked from mystiq/dex
Merge pull request #446 from xaka/patch-2
examples: add sample for clients
This commit is contained in:
commit
b0f17c9429
4 changed files with 5 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -28,6 +28,7 @@ coverage/
|
||||||
deploy/
|
deploy/
|
||||||
Godeps/_workspace/src/github.com/coreos/dex
|
Godeps/_workspace/src/github.com/coreos/dex
|
||||||
static/fixtures/env.txt
|
static/fixtures/env.txt
|
||||||
|
static/fixtures/clients.json
|
||||||
static/fixtures/connectors.json
|
static/fixtures/connectors.json
|
||||||
static/fixtures/users.json
|
static/fixtures/users.json
|
||||||
static/fixtures/emailer.json
|
static/fixtures/emailer.json
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
|
|
||||||
When you are working on dex it's convenient to use the `--no-db` flag. This starts up dex in a mode which uses an in-memory datastore for persistence. It also does not rotate keys, so no overlord is required.
|
When you are working on dex it's convenient to use the `--no-db` flag. This starts up dex in a mode which uses an in-memory datastore for persistence. It also does not rotate keys, so no overlord is required.
|
||||||
|
|
||||||
In this mode you provide the binary with paths to files for connectors, users, and emailer. There are example files you can use inside of `static/fixtures` named *"connectors.json.sample"*, *"users.json.sample"*, and *"emailer.json.sample"*, respectively.
|
In this mode you provide the binary with paths to files for clients, connectors, users, and emailer. There are example files you can use inside of `static/fixtures` named *"clients.json.sample"*, *"connectors.json.sample"*, *"users.json.sample"*, and *"emailer.json.sample"*, respectively.
|
||||||
|
|
||||||
You can rename these to the equivalent without the *".sample"* suffix since the defaults point to those locations:
|
You can rename these to the equivalent without the *".sample"* suffix since the defaults point to those locations:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
cp static/fixtures/clients.json.sample static/fixtures/clients.json
|
||||||
cp static/fixtures/connectors.json.sample static/fixtures/connectors.json
|
cp static/fixtures/connectors.json.sample static/fixtures/connectors.json
|
||||||
cp static/fixtures/users.json.sample static/fixtures/users.json
|
cp static/fixtures/users.json.sample static/fixtures/users.json
|
||||||
cp static/fixtures/emailer.json.sample static/fixtures/emailer.json
|
cp static/fixtures/emailer.json.sample static/fixtures/emailer.json
|
||||||
|
|
|
@ -14,6 +14,7 @@ Now copy the example configurations into place to get dex configured.
|
||||||
You can customize these later but the defaults should work fine.
|
You can customize these later but the defaults should work fine.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
cp static/fixtures/clients.json.sample static/fixtures/clients.json
|
||||||
cp static/fixtures/connectors.json.sample static/fixtures/connectors.json
|
cp static/fixtures/connectors.json.sample static/fixtures/connectors.json
|
||||||
cp static/fixtures/users.json.sample static/fixtures/users.json
|
cp static/fixtures/users.json.sample static/fixtures/users.json
|
||||||
cp static/fixtures/emailer.json.sample static/fixtures/emailer.json
|
cp static/fixtures/emailer.json.sample static/fixtures/emailer.json
|
||||||
|
|
Loading…
Reference in a new issue