Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

EvtScan NG

FOSSA Status

A NG of EveriToken Explorer.

Docker Build

Build The Server

docker build . -t nhibiki/evtscan

or you can directly pull the latest image from docker hub.

docker pull nhibiki/evtscan

Run The Server

docker run --rm -it nhibiki/evtscan -a 0.0.0.0 -p 3000 -u {POSTGRES_USER} -b {POSTGRES_DB} -s {POSTGRES_PASSWD} -g {POSTGRES_ADDR} --debug
# OR With Deprecated MongoDB
docker run --rm -it nhibiki/evtscan -a 0.0.0.0 -m mongodb://{YOUR_MONGO_SERVER_IP}:{YOUR_MONGO_SERVER_PORT}

Now, you can get access to http://172.17.0.x if you run docker on linux or docker-machine for both windows and mac. (x indicates for the number of docker instance you are running. For example, if it is my first time run docker image, then x = 2. The URL should be http://172.17.0.2)

Also, you can definitely proxy the port out to host machine. :)

For Debugging

Frontend

cd packages/frontend
vi lib/api.js
# Change the api endpoint to your own or local
yarn dev

Backend

cd pasckage/backend
node index.js -a 0.0.0.0 -p 3000 -u postgres -b evt -s POSTGRES_PASSWD -g localhost --debug
# Params are the same with docker params

License

FOSSA Status

About

everiToken BlockChain Explorer

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •