Skip to content

amalcaraz/nuls-light-explorer

Repository files navigation

Nuls light explorer

====================

Requirements

Using this package

Clone the project:

  # Clone the project  
  git clone <repository.git> nuls-light-explorer
  cd nuls-light-explorer 

Installation

Once you have downloaded:

  # with npm
  npm install 
  nnpm run build:ts 
  npm run serve:prod 

  # or using yarn
  yarn install
  yarn run build:ts   
  yarn run serve:prod 

With docker:

  # Build the docker image 
  docker build -f environment/prod/Dockerfile -t nuls-light-explorer . 
  # Run the docker container 
  docker run -d -it --name nuls-light-explorer -p 80:3000 nuls-light-explorer 

Setting up the service

Once the installation of the service have finished, we need to fix some environment vars. You can find all environment vars
availables to configure the service in config/custom-environment-variables.yaml.

An example of configuration of the most important vars:

# Service port:
export NLE_SERVER_PORT="3000"

# Nuls rpc node:
export NLE_NULS_HOST="http://localhost:8001"

# Level db path:  
export NLE_LEVEL_PATH="/data/nuls-light-explorer"

Contribution guidelines

If you are thinking in contribute to the project you should know that:

About

Light explorer for nuls network that supports nuls-js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published