Skip to content

Commit

Permalink
docs: use correct version
Browse files Browse the repository at this point in the history
Closes #200
  • Loading branch information
aeneasr committed May 28, 2020
1 parent 0573295 commit 5f7030c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions docs/docs/configure-deploy.md
Expand Up @@ -66,7 +66,7 @@ $ export DSN=postgres://keto:secret@ory-keto-example--postgres:5432/keto?sslmode
$ docker run -it --rm \
--network ketoguide \
-e DSN=$DSN \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
migrate sql -e
Applying `client` SQL migrations...
Expand All @@ -79,7 +79,7 @@ $ docker run -d \
--network ketoguide \
-p 4466:4466 \
-e DSN=$DSN \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
serve
```

Expand Down Expand Up @@ -120,7 +120,7 @@ $ docker run -it --rm \
--network ketoguide \
-v $(pwd)/policies:/policies \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory policies import exact /policies/example-policy.json
```

Expand All @@ -130,7 +130,7 @@ Check if the policy has been created:
$ docker run -it --rm \
--network ketoguide \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory policies get exact example-policy
{
"actions": [
Expand All @@ -145,7 +145,7 @@ Check if Alice is allowed to delete the blog post:
$ docker run -it --rm \
--network ketoguide \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory allowed exact alice blog_posts:my-first-blog-post delete
{
"allowed": true
Expand All @@ -158,7 +158,7 @@ Other users like Bob can not delete it:
$ docker run -it --rm \
--network ketoguide \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory allowed exact bob blog_posts:my-first-blog-post delete
{
"allowed": false
Expand Down
12 changes: 6 additions & 6 deletions docs/versioned_docs/version-v0.5/configure-deploy.md
Expand Up @@ -66,7 +66,7 @@ $ export DSN=postgres://keto:secret@ory-keto-example--postgres:5432/keto?sslmode
$ docker run -it --rm \
--network ketoguide \
-e DSN=$DSN \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
migrate sql -e
Applying `client` SQL migrations...
Expand All @@ -79,7 +79,7 @@ $ docker run -d \
--network ketoguide \
-p 4466:4466 \
-e DSN=$DSN \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
serve
```

Expand Down Expand Up @@ -120,7 +120,7 @@ $ docker run -it --rm \
--network ketoguide \
-v $(pwd)/policies:/policies \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory policies import exact /policies/example-policy.json
```

Expand All @@ -130,7 +130,7 @@ Check if the policy has been created:
$ docker run -it --rm \
--network ketoguide \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory policies get exact example-policy
{
"actions": [
Expand All @@ -145,7 +145,7 @@ Check if Alice is allowed to delete the blog post:
$ docker run -it --rm \
--network ketoguide \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory allowed exact alice blog_posts:my-first-blog-post delete
{
"allowed": true
Expand All @@ -158,7 +158,7 @@ Other users like Bob can not delete it:
$ docker run -it --rm \
--network ketoguide \
-e KETO_URL=http://ory-keto-example--keto:4466/ \
oryd/keto:v0.5.3-alpha.3 \
oryd/keto:v0.5.4-alpha.1 \
engines acp ory allowed exact bob blog_posts:my-first-blog-post delete
{
"allowed": false
Expand Down

0 comments on commit 5f7030c

Please sign in to comment.