项目作者: voilknetwork

项目描述 :
A blockchain explorer for voilk blockchain
高级语言: CSS
项目地址: git://github.com/voilknetwork/voilkExplorer.git
创建时间: 2020-08-27T23:00:06Z
项目社区:https://github.com/voilknetwork/voilkExplorer

开源协议:MIT License

下载


Voilk Block Chain explorer

It’s a blockchain explorer for voilk blockchain, a react application

Here is how you can run it locally on your computer

Make sure you have node v14

  1. git clone https://github.com/voilknetwork/voilkExplorer
  2. cd voilkExplorer
  3. yarn install or npm install
  4. yarn start or npm start

after it’s completed you can head over to localhost:3000
and voila you have a local instance of explorer running

if you want to deploy it on a server

  1. yarn run build
  2. or
  3. npm run build

It will create a build directory which you can then deploy on your server.
use express, and configure nginx/apache

Deploying on the server

  1. npm install express express-favicon path
  2. /// run the server.js
  3. node server.js

Create nginx record, don’t forget to change the explorer.voilk.com with your own domain name.

  1. server {
  2. listen 80;
  3. listen [::]:80;
  4. server_name explorer.voilk.com;
  5. location / {
  6. proxy_pass http://127.0.0.1:3000;
  7. }
  8. }

Install certificate using certbot

  1. certbot --nginx -d explorer.voilk.com

if you want help
contact us at support@voilk.com