Skip to content

Commit e555658

Browse files
committed
feat: use single docker command to start data backend for oil-gas-automation example
1 parent 3345518 commit e555658

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

examples/oil-gas-automation/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ It waits to receive low flow rate events over subscription, queries and analyzes
66
data provided by the "oil-gas-automation" API, and takes necessary action (or
77
does not).
88

9-
The basic setup of the "oil-gas-automation" API can be
10-
found [there](https://github.com/DataSQRL/datasqrl-examples/tree/main/oil-gas-agent-automation).
11-
129
## To start the project:
1310

1411
1. Install dependencies:
@@ -19,7 +16,13 @@ npm ci
1916

2017
2. Create `.env.local` using [`.env.example`](.env.example) as template
2118

22-
3. Run in development mode
19+
3. Run the data backend:
20+
21+
```shell
22+
docker run -it -p 8888:8888 -p 8081:8081 -p 9092:9092 --rm -e TZ=“UTC” datasqrl/examples:oil-gas run -c package-local.json
23+
```
24+
25+
4. Run the example in development mode
2326

2427
```sh
2528
npm run dev

0 commit comments

Comments
 (0)