Evernode host dashboard web app (ReactJS).
Add .env.development.local
file in root directory and specify testnet.
Add .env.production.local
file in root directory and specify mainnet.
REACT_APP_DEFAULT_NETWORK=<network>
Overriding the governor address
REACT_APP_OVERRIDE_<network in upper case>_GOVERNOR_ADDRESS=<governor address>
Example:
REACT_APP_OVERRIDE_DEVNET_GOVERNOR_ADDRESS=<devnet governor address>
Must use "evernode-host-dashboard" sub directory (eg. http://localhost:3000/evernode-host-dashboard). This is controlled in .env
file.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.