mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-23 11:39:05 +00:00
Remove ipfs setup from demo
This commit is contained in:
parent
ed75a4dc82
commit
6cb424b315
@ -51,17 +51,6 @@
|
|||||||
-p ../config.sh
|
-p ../config.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
* Run the IPFS (go-ipfs version 0.12.2) daemon:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ipfs daemon
|
|
||||||
|
|
||||||
# API server listening on /ip4/127.0.0.1/tcp/5001
|
|
||||||
```
|
|
||||||
The IPFS API address can be seen in the output.
|
|
||||||
|
|
||||||
* In the [config file](./environments/local.toml) update the `server.ipfsApiAddr` config with the IPFS API address.
|
|
||||||
|
|
||||||
* Create a postgres12 database for the watcher:
|
* Create a postgres12 database for the watcher:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -10,8 +10,7 @@
|
|||||||
checkpointInterval = 2000
|
checkpointInterval = 2000
|
||||||
|
|
||||||
# IPFS API address (can be taken from the output on running the IPFS daemon).
|
# IPFS API address (can be taken from the output on running the IPFS daemon).
|
||||||
ipfsApiAddr = "/ip4/127.0.0.1/tcp/5001"
|
# ipfsApiAddr = "/ip4/127.0.0.1/tcp/5001"
|
||||||
|
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
type = "postgres"
|
type = "postgres"
|
||||||
|
Loading…
Reference in New Issue
Block a user