Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: updated filepaths for schema store regex #344

Merged
merged 6 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build:
test:
go test -cover ./...
run:
go run main.go start -f file:config/samples/example_flags.json
go run main.go start -f file:config/samples/example_flags.flagd.json
install:
cp systemd/flagd.service /etc/systemd/system/flagd.service
mkdir -p /etc/flagd
Expand Down
8 changes: 4 additions & 4 deletions docs/usage/evaluation_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
1. Download sample flag configuration:

```shell
curl https://raw.githubusercontent.com/open-feature/flagd/main/config/samples/example_flags.json -o example_flags.json
curl https://raw.githubusercontent.com/open-feature/flagd/main/config/samples/example_flags.flagd.json -o example_flags.flagd.json
```

1. Run one of the following commands, depending on how [flagd was installed](../usage/getting_started.md):
- binary:

```shell
flagd start --uri file:example_flags.json
flagd start --uri file:example_flags.flagd.json
```

- Docker:

```shell
docker run -p 8013:8013 -v $(pwd)/:/etc/flagd/ -it --pull=always ghcr.io/open-feature/flagd:latest start --uri file:./etc/flagd/example_flags.json
docker run -p 8013:8013 -v $(pwd)/:/etc/flagd/ -it --pull=always ghcr.io/open-feature/flagd:latest start --uri file:./etc/flagd/example_flags.flagd.json
```

1. Changes made in `example_flags.json` will immediately take affect. Go ahead, give a shot!
1. Changes made in `example_flags.flagd.json` will immediately take affect. Go ahead, give a shot!

Flagd is now ready to perform flag evaluations over either HTTP or gRPC. In this example, we'll utilize HTTP via cURL.

Expand Down