Open source block explorer for snapr hosted at https://explorer.snapr.com
You will need nodejs and yarn, docker and docker-compose.
Install mono-repo:
git clone https://github.com/snapr-org/explorer.git
cd explorer
yarnFirst, copy the proper frontend configuration file (mainnet or testnet):
cp frontend/frontend.config.mainnet.sample.js frontend/frontend.config.jscp frontend/frontend.config.tesnet.sample.js frontend/frontend.config.jsyarn workspace frontend devyarn workspace frontend generateTo build and start all the required dockers.
yarn workspace backend docker:mainnetyarn workspace backend docker:testnetClean all docker containers and related images and persistent volumes except those related to substrate-node.
yarn workspace backend docker:cleanCreate PostgreSQL database backup:
docker:postgres:backupbash docker/backend/scripts/backup.shbash docker/backend/scripts/restore-backup.sh