Skip to content

Commit

Permalink
Update development.md
Browse files Browse the repository at this point in the history
  • Loading branch information
renauter authored Dec 29, 2022
1 parent 52c7a1c commit 5c6ffb8
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Indexer services should now be started, you can check if it's syncing properly b
docker logs indexer_indexer_1 -f
```

You should be able to follow tfchain blocks processing:

![image](https://user-images.githubusercontent.com/73958772/209998096-3d5381d9-97ee-438d-824d-d92d997b42aa.png)

### Run processor

Check `.env` and adjust the websocket endpoint to your local tfchain address.
Expand All @@ -38,10 +42,33 @@ yarn db:up
yarn process
```

You should be able to follow tfchain blocks processing:

![image](https://user-images.githubusercontent.com/73958772/210000023-c575d91a-382e-4fdc-85b3-199a135b493f.png)


If you make some changes, don't forget to turn down container before tuning it on again.

```
docker-compose down
```

### Run graphql UI

At this step, by running

```
docker ps
```

it should display such list of running containers:

![image](https://user-images.githubusercontent.com/73958772/210003731-6abd405f-f92a-440d-aa9a-40410e580109.png)

Make sure indexer and processor are both listening to tfchain to be able to browse.

```
yarn api
```

Browse to http://localhost:4000/graphql to see the UI
Now you can use the UI (http://localhost:4000/graphql) and run some tests.

0 comments on commit 5c6ffb8

Please sign in to comment.