Skip to content
Light explorer for nuls network that supports nuls-js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__
config
environment
schemas
src
tests
.dockerignore
.gitignore
Makefile
README.md
index.ts
jest.config.js
package-lock.json
package.json
tsconfig.json
tslint.json
yarn.lock

README.md

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:

You can’t perform that action at this time.