Running the app

Actions described here are executed in the web/app_src module.

Setting up the environment variables

Create a .env file with the schema of the .env.example file.

SKIP_PREFLIGHT_CHECK=true
PORT="app_port"
REACT_APP_SERVER_HOST="http://app_host:app_port"
REACT_APP_FIL_ENDPOINT="lotus rpc url"
REACT_APP_FIL_TOKEN="lotus rpc token"
REACT_APP_API_HOST="http://api_host:api_port/api/"
REACT_APP_API_PRICES="wallet api url"

Do not add this file to the control version system

Installing dependencies

$ npm install

Starting the app

$ npm run start

A server should be started at the defined port.

Last updated