moar cli & complete address-watcher README

This commit is contained in:
zramsay
2023-01-16 07:40:39 -05:00
parent 85452a870f
commit dd9f85f268
2 changed files with 93 additions and 118 deletions
+10 -25
View File
@@ -4,45 +4,30 @@
First try the [stack orchestrator](https://github.com/cerc-io/stack-orchestrator) to quickly get started. Advanced users can see [here](/docs/README.md) for instructions on setting up a local environment by hand.
## Run
Run the following scripts in different terminals.
Build files:
```
yarn build
```bash
yarn && yarn build
```
GQL server:
## Run
```
Run the following commands in different terminals:
GraphQL server:
```bash
yarn server
# For development.
yarn server:dev
# For specifying config file.
yarn server -f environments/local.toml
```
Job runner for processing the tracing requests queue:
```
```bash
yarn job-runner
# For development.
yarn job-runner:dev
# For specifying config file.
yarn job-runner -f environments/local.toml
```
To fill a block range:
```
```bash
yarn fill --start-block 1 --end-block 1000
# For specifying config file.
yarn fill -f environments/local.toml --start-block 1 --end-block 1000
```