You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/examples/cvat/exchange-oracle/README.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,23 @@ For deployment it is required to have PostgreSQL(v14.4)
19
19
### Run the oracle locally:
20
20
21
21
```
22
-
1. docker-compose -f docker-compose.dev.yml up -d
23
-
2. ./bin/start_dev.sh
22
+
docker-compose -f docker-compose.dev.yml up -d
23
+
./bin/start_dev.sh
24
24
```
25
25
26
+
or
27
+
28
+
```
29
+
docker-compose -f docker-compose.dev.yml up -d
30
+
./bin/start_debug.sh
31
+
```
32
+
33
+
When running service from `./bin/start_debug.sh` (`debug.py`), simplified development flow is available:
34
+
35
+
- When JWT token is required, simple JSON can be used instead of JWT token.
36
+
- When webhook signature is required, `{oracle_name}:unique_string` can be used
37
+
- You can upload manifest.json to minio `manifests` bucket and use its filename as an escrow_address
38
+
26
39
### Environemt
27
40
Env example file: [.env.example](https://github.com/humanprotocol/human-protocol/blob/feat/cvat/exchange-oracle/packages/examples/cvat/exchange-oracle/src/.env.example)
0 commit comments