Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.31 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.31 KB
# AELF Block Explorer

## Quick Start

### Install node modules Dependencies

```shell script
# install dependencies
$ yarn

Dependent projects

Local Development

  1. Modify the proxy config in build/proxy.json
    • there are several proxy configs, if you have started related projects such as aelf-block-api in local environment, this file doesn't need any changes
  2. Change the chain node URL in script such as yarn beforeDev -- --CHAIN_ENDPOINT https://aelf-test-node.aelf.io
  3. Run the npm script start
    yarn dev
    this script will start a webpack-dev-server and listen on port 3000, open http:0.0.0.0:3000 in your browser manually.

Production

For production, change the chain node URL in config/config.js and run:

yarn beforeBuild -- --CHAIN_ENDPOINT https://aelf-test-node.aelf.io
yarn build

api rules