Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 7cb9a03

Browse files
update the ReadMe's for subgraph (#124)
1 parent e3ab781 commit 7cb9a03

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ Other folders
152152

153153
```bash
154154
# for subgraph checkout README.md in following directories
155-
packages/advanced/subgraph/
156-
packages/advanced/services/
155+
packages/subgraph/
156+
packages/services/
157157
```
158158

159159
## Guides

packages/services/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Graph-Node
22

3-
1. Make sure you are in `packages/advanced/services` direcotry in your terminal before running the following commands and docker is running.
3+
1. Make sure you are in `packages/services` directory in your terminal before running the following commands and **`docker`** is also running.
44

55
```bash
66
cd graph-node && docker-compose up

packages/subgraph/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
1. Make sure your local chain is running first and you have ran `yarn deploy`.
55

6-
2. Make sure you are running `graph-node` using docker, for instructions checkout `README.md` in `packages/advanced/services` directory.
6+
2. Make sure you are running `graph-node` using docker, for instructions checkout `README.md` in `packages/services` directory.
77

8-
3. replace address of `YourContract` in `subgraph.yaml` file with deployed address.
8+
3. create a `subgraph.yaml` file in `packages/subgraph` directory, refer to `packages/subgraph/src/subgraph.template.yaml` and change `{{localhost_YourContractAddress}}` to deployed `YourContract` address
99

10-
4. Make sure you are at `packages/advanced/subgraph` in you terminal before running the below commands.
10+
4. Make sure you are at `packages/subgraph` in you terminal before running the below commands.
1111

1212
4. Create your <b>local subgraph</b> by running
1313

0 commit comments

Comments
 (0)