Skip to content

Commit 9ebf25e

Browse files
committed
Updating Elasticsearch client and adding example env file
1 parent 9da2c02 commit 9ebf25e

File tree

4 files changed

+496
-85
lines changed

4 files changed

+496
-85
lines changed

.env-example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ELASTIC_URL=https://my-elastic-deployment:port
2+
ELASTIC_API_KEY=my-api-key

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ See below for how to run the applications and tests.
2525

2626
#### `cake-game`
2727

28+
You need an Elasticsearch cluster to pull the data from. Access is granted using environment variables `ELASTIC_URL` and `ELASTIC_API_KEY`, as per the [.env-example](./.env-example) file at the top of the project:
29+
30+
```zsh
31+
ELASTIC_URL=https://my-elastic-deployment:port
32+
ELASTIC_API_KEY=my-api-key
33+
```
34+
2835
Start the application on `http://localhost:5173/`, ensuring you have [Netlify CLI](https://docs.netlify.com/cli/get-started/) installed:
2936

3037
```

0 commit comments

Comments
 (0)