Skip to content

Commit

Permalink
Update building doc for 13.1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturWieczorek authored and kderme committed May 26, 2023
1 parent 427d8f7 commit dc64e9b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/building-running.md
@@ -1,4 +1,4 @@
**Validated: 2022/08/20**
**Validated: 2023/05/18**

# Building and Running the Cardano DB Sync Node

Expand Down Expand Up @@ -35,6 +35,10 @@ git checkout <latest-official-tag> -b tag-<latest-official-tag>
nix run .#mainnet/node
```

More detailed instructions on GHC, Cabal, libraries and `cardano-node` setup can be found here:
- [Installing Cardano Node from source](https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md)
- [Building Cardano Node with nix](https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md)

### Set up and run the db-sync node

- Install secp256k1 library as a prerequisite for building with cabal:
Expand Down Expand Up @@ -84,7 +88,7 @@ when running cabal build
git clone https://github.com/input-output-hk/cardano-db-sync
cd cardano-db-sync
git checkout <latest-official-tag> -b tag-<latest-official-tag>
nix-build -A cardano-db-sync -o db-sync-node
nix build -v .#cardano-db-sync -o db-sync-node
PGPASSFILE=config/pgpass-mainnet scripts/postgresql-setup.sh --createdb
PGPASSFILE=config/pgpass-mainnet db-sync-node/bin/cardano-db-sync \
--config config/mainnet-config.yaml \
Expand Down

0 comments on commit dc64e9b

Please sign in to comment.