Code Monkey home page Code Monkey logo

irita-explorer's Introduction

##CSRB explooer

development

step1 安装依赖

 	make setup

step2 设置代理 详细参考 “## proxy” step3 run

	make run

production mode

step1 产品化配置

添加产品化配置到 ./productionConfig文件夹  详见:http://wiki.bianjie.ai/pages/viewpage.action?pageId=38928894

step2 build

make setup && npm run build:production

##不同环境用各自的环境名称代替: npm run build:development/npm run build:qa/npm run build:testnet

step3 导出dist静态文件夹到指定服务 step4 设置代理 详细参考 “## proxy”

proxy

proxy: {
          '/api':{
              target:'http://10.1.4.248:4003',
              secure:false,
              pathRewrite:{'^/api': '/'}
          },
          '/lcd':{
                target:'http://10.2.10.130:2317',
              secure:false,
              pathRewrite:{'^/lcd': '/'}
          }
        }

##环境变量

name example note
VUE_APP_COSMOS_XP_ADDRESS https://cosmoshub.iobscan.io cosmos单链浏览器地址
VUE_APP_IRIS_XP_ADDRESS https://irishub.iobscan.io iris单链浏览器地址
... ... ...

irita-explorer's People

Contributors

duanjie-cmd avatar zhangjinbiao746 avatar bierxiensi avatar hts-bianjie avatar dependabot[bot] avatar oncloudit avatar zhangyelong 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.