Skip to content

Commit 50b5adc

Browse files
upgrade graph-cli dependency
1 parent f16820c commit 50b5adc

11 files changed

+8834
-1778
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ npm ci
2424
generate code
2525

2626
```sh
27-
./node_modules/@graphprotocol/graph-cli/bin/graph codegen subgraph.test.yaml
28-
./node_modules/@graphprotocol/graph-cli/bin/graph build subgraph.test.yaml
27+
npx graph codegen subgraph.test.yaml
28+
npx graph build subgraph.test.yaml
2929
```
3030

3131
deploy the subgraph on local node
3232

3333
```sh
3434
# create once
35-
./node_modules/@graphprotocol/graph-cli/bin/graph create test/poco --node http://127.0.0.1:8020
36-
./node_modules/@graphprotocol/graph-cli/bin/graph deploy test/poco subgraph.test.yaml --node http://127.0.0.1:8020 --ipfs http://127.0.01:5001 --version-label dev
35+
npx graph create test/poco --node http://127.0.0.1:8020
36+
npx graph deploy test/poco subgraph.test.yaml --node http://127.0.0.1:8020 --ipfs http://127.0.01:5001 --version-label dev
3737
```
3838

3939
test/poco subgraph graphql API enpoints:

0 commit comments

Comments
 (0)