Skip to content
This repository was archived by the owner on Jan 23, 2022. It is now read-only.

Commit 8de8fda

Browse files
committed
Add cli args to examples
1 parent 5ee921f commit 8de8fda

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ Check out the [releases page](https://github.com/ilyaglow/dor/releases).
3333

3434
Use Clickhouse storage located at `clickhouse` and bind to port `8080`:
3535
```
36-
DOR_STORAGE=clickhouse \
37-
DOR_STORAGE_URL=tcp://clickhouse:9000 \
38-
DOR_PORT=8080 \
39-
go run service/dor-http/dor.go
36+
go run service/dor-http/dor.go \
37+
-storage=clickhouse \
38+
-storage-url=tcp://clickhouse:9000 \
39+
-listen-addr=:8080
4040
```
4141

4242
## Fill database with the data
4343

4444
```
45-
DOR_STORAGE=clickhouse \
46-
DOR_STORAGE_URL=tcp://clickhouse:9000 \
47-
go run cmd/dor-insert/dor-insert
45+
go run cmd/dor-insert/dor-insert \
46+
-storage=clickhouse \
47+
-storage-url=tcp://clickhouse:9000
4848
```
4949

5050
## Docker usage

0 commit comments

Comments
 (0)