-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from hypnoglow/update-readme
Update README
- Loading branch information
Showing
4 changed files
with
67 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,5 @@ | ||
# Examples | ||
|
||
First of all you need to build the provider and link it to the examples: | ||
This directory contains provider usage examples. | ||
|
||
```shell script | ||
make build | ||
make prepare-examples | ||
``` | ||
|
||
To test examples, you need a running Hydra instance. For demonstrational purposes, | ||
we can run Hydra locally as a Docker container: | ||
|
||
```shell script | ||
docker container run -i -t --rm --name hydra \ | ||
-p 4444:4444 \ | ||
-p 4445:4445 \ | ||
-e LOG_LEVEL=debug \ | ||
-e DSN=memory \ | ||
oryd/hydra:v1.4.10 serve all --dangerous-force-http | ||
``` | ||
|
||
Then you can simply run examples as usual terraform project. Enter a particular example directory (e.g. `cd examples/oryhydra_oauth2_client`) | ||
and run: | ||
|
||
```shell script | ||
terraform init | ||
|
||
terraform plan | ||
|
||
terraform apply | ||
``` | ||
- [OAuth2 Client example](./oryhydra_oauth2_client) |