Improving README

This commit is contained in:
Gabriel Mermelstein 2023-09-21 18:40:27 +03:00 committed by alrevuelta
parent bb2271acdc
commit 91e860220d
No known key found for this signature in database
GPG Key ID: F345C9F3CCDB886E
1 changed files with 14 additions and 0 deletions

View File

@ -15,6 +15,20 @@ cd nwaku-compose
Edit the environment variables present at the beginning of the `docker-compose.yml` file.
Get a node's URL:
It is required to set the `ETH_CLIENT_ADDRESS` environment variable before starting the instance.
`ETH_CLIENT_ADDRESS` must be a WebSockets URL for your Ethereum Node.
For the current default contract, it must a node for the Sepolia network.
In case you're not running your own node, you can get it from [Infura](https://www.infura.io/)
You can set the environment variable from inside the `docker-compose.yml` file or you can simply run
```console
export ETH_CLIENT_ADDRESS=<your_eth_client_address_here>
```
Start everything: `nwaku`, `postgres`, `prometheus`, and `grafana`.
```console
docker-compose up -d