Readme: Update postgres flag in cargo
@@ -41,14 +41,17 @@ For Ethereum network data you can either run a local node or use Infura.io:
5. Clone https://github.com/graphprotocol/graph-node and run `cargo build`
Once you have all the dependencies set up you can run the following:
+
```
cargo run -p graph-node --release -- \
- --postgres-url postgresql://localhost:5432/adchain-subgraph \
+ --postgres-url postgresql://<USERNAME>:<PASSWORD>@localhost:5432/adchain-subgraph \
--ethereum-ws wss://mainnet.infura.io/_ws \
--ipfs 127.0.0.1:5001 \
- --subgraph IPFS_HASH
+ --subgraph <IPFS_HASH>
```
+Try your OS username as `USERNAME` and any password for `PASSWORD`.
+
This will also spin up a GraphiQL interface at `http://127.0.0.1:8000/`.
### Command-line interface
