Skip to content

aergoio/aergoscan_v2_frontend

Repository files navigation

Local frontend development

You can build the frontend locally without re-building the docker image.

# install dependencies
yarn

# serve with hot reload at localhost:8081
yarn dev

Build for production

# localhost
CONFIG_NAME=local yarn build

# alpha net
CONFIG_NAME=alphanet yarn build

# main net
CONFIG_NAME=mainnet yarn build

# test net
CONFIG_NAME=testnet yarn build

Development build with different AERGO node:

# localhost
AERGO_NODE=https://testnet-api-http.aergo.io yarn dev

# main net
AERGO_NODE=https://mainnet-api-http.aergo.io API_URL=https://api2-mainnet.aergoscan.io/v2 yarn dev

# test net
AERGO_NODE=https://testnet-api-http.aergo.io API_URL=https://api2-testnet.aergoscan.io/v2 yarn dev

# alpha net
AERGO_NODE=https://alpha-api-http.aergo.io API_URL=https://api2-alpha.aergoscan.io/v2 yarn dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •