npm install -g full-icu
yarn install
It's served in http://localhost:3009 .
yarn start
yarn test
It's served in ./static folder.
yarn run build
yarn run build:staging
yarn run build:dev
yarn run client
yarn run server
config files are located at ./shared/constants/env, you can customize for different environment
staging example:
{
"ENV": "staging",
"CHAIN_API": "wss://node.staging.definex.com",
"ADMIN_API": "https://admin-api.staging.definex.com",
"SCAN_API": "https://scan.staging.definex.com"
}