bitconch / bus-explorer

blockexplorer for Bitconch blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bus-explorer

block explorer for bitconch chain

install nodejs and redis

apt-get --assume-yes install redis

Install Redis & Administration

Refer to https://redis.io/topics/admin

vim /etc/sysctl.conf

Add vm.overcommit_memory =1 to sysctl.conf

sysctl vm.overcommit_memory=1
  • Redis Log

Usually log file is defined in /etc/redis/redis.conf

default value logfile /var/log/redis/redis-server.log

install && start explorer

  1. go to go/src/github.com/bitconch/
cd go/src/github.com/bitconch/
  1. clone explorer
git clone https://github.com/bitconch/bus-explorer
  1. build go to the project root folder
cd bus-explorer
yarn
  1. Start
yarn start:api

open another terminal

yarn start:ui

run the bus instance, refer to bitcon/bus

Anything Goes Wrong

  1. Remove influxdb
sudo apt-get remove influxdb

sudo apt-get remove --auto-remove influxdb

sudo apt-get purge influxdb

sudo apt-get purge --auto-remove influxdb
  1. Remove Redis
apt-get purge --auto-remove redis-server

  1. Install Redis Server Again
apt-get install redis-server

  1. Change The File Permission

  2. Update the Configuration File for Redis

vi /etc/redis/redis.conf

Remove bind 127.0.0.1 ::1 with bind 127.0.0.1

About

blockexplorer for Bitconch blockchain


Languages

Language:JavaScript 100.0%