# AELF Block Explorer
## Quick Start
### Install node modules Dependencies
```shell script
# install dependencies
$ yarn
- Firstly, start up projects listed below
- AElf Chain or use a running AElf chain node
- aelf-block-api
- aelf-web-proxy
- 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
- there are several proxy configs, if you have started related projects such as
- Change the chain node URL in script such as
yarn beforeDev -- --CHAIN_ENDPOINT https://aelf-test-node.aelf.io
- Run the npm script
start
this script will start ayarn dev
webpack-dev-server
and listen on port3000
, openhttp:0.0.0.0:3000
in your browser manually.
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/*
=>scan server
; aelf-block-api/chain/*
=>aelf chain
AElf Chain