Coder Social home page Coder Social logo

elvin-du / explorer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irisnet/explorer

0.0 1.0 0.0 33.61 MB

Blockchain explorer for IRIS Hub

Makefile 0.01% Go 20.03% HTML 0.22% JavaScript 59.51% CSS 0.49% Dockerfile 0.03% Vue 19.05% TypeScript 0.14% SCSS 0.53%

explorer's Introduction

Explorer

Blockchain explorer for IRIS Hub,which includes explorer-backend and explorer-frontend.

Explorer-backend

Run with docker

You can run application with docker.

cd github.com/irisnet/explorer/backend
docker build -t explorer-backend .

ENV

DB_ADDR: mongo url ( eg. 192.168.150.7:27017)

DB_DATABASE: mongo database name ( eg. sync-iris )

DB_USER: mongo user ( eg. iris )

DB_PASSWORD: mongo password ( eg. irispassword )

FAUCET_URL: faucet url ( eg. http://dev.faucet.irisplorer.io )

CHAIN_ID: chain-id ( eg. rainbow-dev )

detail: github.com/irisnet/explorer/backend/README.md

Docker Run

docker run -p 8080:8080 -e ${ENV Variables} explorer-backend:latest

Explorer-frontend

##Config

  • vue.config.js
module.exports = {
    devServer: {
        proxy: {
          '/api':{
              target:'http://localhost:8080',        //backend address:port
              ......
          }
        }
    },
};

Run with docker

You can run application with docker.

cd github.com/irisnet/explorer/frontend
docker build -t explorer-frontend .

Docker Run

docker run -p 8080:8080 -e ${ENV Variables} explorer-frontend:latest

explorer's People

Contributors

zhangjinbiao746 avatar weichang-x avatar wade-liwei avatar zhangyelong avatar chengwenxi avatar dreamer-zq avatar dependabot[bot] avatar xwdhub avatar

Watchers

James Cloos 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.