Skip to content

Commit

Permalink
Add CLI install hint (#228)
Browse files Browse the repository at this point in the history
* Add CLI install hint

* Fix docker-compose.yaml
  • Loading branch information
pyr0gan authored Jan 20, 2022
1 parent 7dde485 commit 2f9fa1d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose-near.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
postgres_pass: let-me-in
postgres_db: graph-node
ipfs: 'ipfs:5001'
ethereum: '${ETHEREUM_RPC:-localhost:http://host.docker.internal:8545}'
near: '${ETHEREUM_RPC:-mainnet:https://rpc.mainnet.near.org}'
RUST_LOG: info
GRAPH_LOG: info
ipfs:
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
postgres_pass: let-me-in
postgres_db: graph-node
ipfs: 'ipfs:5001'
near: '${ETHEREUM_RPC:-mainnet:https://rpc.mainnet.near.org}'
ethereum: '${ETHEREUM_RPC:-localhost:http://host.docker.internal:8545}'
RUST_LOG: info
GRAPH_LOG: info
ipfs:
Expand Down
4 changes: 4 additions & 0 deletions markdown/the_graph/SUBGRAPH_SCAFFOLD.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ In a code editor, a subgraph will be a folder with a few different folders and f
yarn global add @graphprotocol/graph-cli
```

{% hint style="tip" %}
If you're using Gitpod, Yarn won't automatically add the CLI binary to your PATH - use `npm install -g @graphprotocol/graph-cli` instead!
{% endhint %}

Verify the installation was successful by running `graph` in your Terminal. You should see:

```text
Expand Down

0 comments on commit 2f9fa1d

Please sign in to comment.