Giter Club home page Giter Club logo

bus-explorer's Introduction

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

bus-explorer's People

Contributors

caesarchad avatar wgfsimple avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.