Set the following variables in a .env file:
REACT_APP_ENABLED_CHAINS: comma-separated list of enabled chains, e.g.ethRopsten, etcMorden. Chain names must match a valid configuration file insidesrc/configdirectory. Defaults toethMainnet.REACT_APP_ROPSTEN_API_URL: defaults tohttp://localhost:3002/REACT_APP_MORDEN_API_URL: defaults tohttp://localhost:3012/
Other overridable variables with proper defaults:
REACT_APP_ENGAGE_FORM_URLREACT_APP_GA_TRACKING_IDREACT_APP_SENTRY_DNS
Then install dependencies:
npm installnpm run buildThe built files will be located in the build directory ready to be served by any HTTP server.
To develop the React part of the site with live-reload when files under /src change, run:
npm run startThe site will open in the port 3001.
To develop the static part of the site with live-reload when files under /public or /src-static change, run:
npm run start:staticMIT