this project fork from Blockscout v4.1.5.
BlockScan is a explorer for ETH compatible chain like Axon Side Chain which is a layer2 network build on Nervos Network CKB
- install latest docker and docker compose
- run pg database on the host machine
- edit
xxx.env
file - build command
docker-compose --env-file ./dev.env -f ./docker-compose.yml build blockscan
- run database
docker-compose --env-file ./dev.env -f ./docker-compose.yml up --force-recreate db
- run command
docker-compose --env-file ./dev.env -f ./docker-compose.yml up --force-recreate blockscan
- use your env file instead of dev.env
- setting your forked project environment: "axon_staging" (you can change it in your github workflow file)
- setting secret environment
ENV_FILE_PATH
which directing real path of your .env file on the deployment server - pushing to
main
ordevelop
branch (you can change it in your github workflow file) .env
fields meaning- primary enviroment setting: * ETHEREUM_JSONRPC_HTTP_URL (setting your chain node rpc endpoint) * ETHEREUM_JSONRPC_TRACE_URL (setting your chain node rpc endpoint) * DATABASE_URL (setting explorer access database url)
- We would like to thank the Nervos Network for their funding support.
- And also thanks to blockscout team, this project was forked from blockscout v4.1.5.
just fork and pull request
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.