Skip to content

Commit c708108

Browse files
committed
document RTCV_SCRAPER_CLIENT_ENV in readme
1 parent bda1660 commit c708108

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Check file:///.../denoexample.ts
4848
# Install latest version
4949
go install github.com/script-development/rtcv_scraper_client/v2@latest
5050
# Install a specific version
51-
go install github.com/script-development/rtcv_scraper_client/v2@v2.2.0
51+
go install github.com/script-development/rtcv_scraper_client/v2@v2.3.0
5252
```
5353
5454
### *2.* Obtain a `env.json`
@@ -127,6 +127,16 @@ Check if a reference number is in the cache
127127
- Body: The reference number
128128
- Resp: **true** / **false**
129129
130+
## `env.json` as env variable?
131+
132+
If you are using containers you might want to use the contents of your `env.json` as env variable instaid of binding it to the container as volume.
133+
134+
You can do that with the following shell variable:
135+
136+
```sh
137+
export RTCV_SCRAPER_CLIENT_ENV='{}'
138+
```
139+
130140
## Deno client docs
131141
132142
[click here](./DENO_README.md)

0 commit comments

Comments
 (0)