Prerequisites
install nodeJS and Yarn first, check
Fork the () so you can use only chain you wanted to be on your blockchain explorer.
// clone your ping.pub explorer from your own repository
git clone https://github.com/YourUsername/explorer.git
// go to the folder
cd explorer
// create new screen
screen -S explorer
// Running with yarn
yarn --ignore-engines && yarn serve
// Building for web servers, like nginx, apache
yarn --ignore-engines && yarn build
cp -r ./dist/* <ROOT_OF_WEB_SERVER>
// Running with docker, change the port 8088 to any port you want.
./docker.sh
docker run -d -p 8088:80 ping.pub/dashboard
Update
To Update your explorer, if you made any changes to your own repository.
// open explorer screen
screen -r explorer
// Stop your explorer first, if it's using yarn, simply CTRL+C on the screen
// Pull the update
git pull
// restart the explorer
yarn --ignore-engines && yarn serve