Help to run blockscout with ganache and docker, for local testing? #5745
-
Hi, I'm using Fedora Linux 36 and using ganache-cli v 7.3.1 I'm running ganache-cli with some options to persist the data, as you can see I use 5777 as network id, and I save the ganache db in a folder called ganache_test:
Now I try to run blockscout with docker, following your docu here: https://docs.blockscout.com/for-developers/information-and-settings/docker-integration-local-use-only Instead of using port 2000 I use 8545 (default ganache port). I cloned the blockscout repo and I
Blockscout starts and I can browse it at http://localhost:4000/ I use truffle to develop and test smart contracts. In my
In truffle, I run: I refresh http://localhost:4000/ and I see nothing, no transactions, no blocks I searched and couldn't find any tutorial or guide to run blockscout with ganache. I tried to make my post like a tutorial, it lacks of course some info in order to make it work. I'd be very pleased if someone helps me to add the missing pieces to make my local setup work. Also, how to reset the posgres db? I mean to start from scratch I'd like to reset the db, maybe with my various attempts I did mess up something, e.g. before I tried a ganache with different network id, different port etc. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Resolved in frame of #5951 |
Beta Was this translation helpful? Give feedback.
Resolved in frame of #5951