Skip to content

Commit

Permalink
Update building-running.md
Browse files Browse the repository at this point in the history
I think the order of the env var and script call is inverted

Also PostGreSQL also needs to be set up properly with the right users, so these instructions really need to be revised to state that.  It would be very helpful if there
were cabal instructions as well as nix ones (the installation is broken, and there is no target for the build).  And the binary cache link is wrong.
  • Loading branch information
kevinhammond committed Aug 10, 2020
1 parent 856c440 commit 23c73ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/building-running.md
Expand Up @@ -36,11 +36,11 @@ nix-build -A scripts.mainnet.node -o mainnet-node-local
git clone https://github.com/input-output-hk/cardano-db-sync
cd cardano-db-sync
nix-build -A cardano-db-sync -o db-sync-node
scripts/postgresql-setup.sh --createdb
PGPASSFILE=config/pgpass db-sync-node/bin/cardano-db-sync \
--config config/mainnet-config.yaml \
--socket-path ../cardano-node/state-node-mainnet/node.socket \
--schema-dir schema/
scripts/postgresql-setup.sh --createdb
```

### Run two chains with a single PostgreSQL instance
Expand Down

0 comments on commit 23c73ad

Please sign in to comment.