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
- go to go/src/github.com/bitconch/
cd go/src/github.com/bitconch/
- clone explorer
git clone https://github.com/bitconch/bus-explorer
- build go to the project root folder
cd bus-explorer
yarn
- Start
yarn start:api
open another terminal
yarn start:ui
run the bus instance, refer to bitcon/bus
- 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
- Remove Redis
apt-get purge --auto-remove redis-server
- Install Redis Server Again
apt-get install redis-server
-
Change The File Permission
-
Update the Configuration File for Redis
vi /etc/redis/redis.conf
Remove bind 127.0.0.1 ::1
with bind 127.0.0.1