The app code lives in the app
folder. Use yarn
to install dependencies.
cd app/
yarn
Create a .env
file. See .env.example
for environment variables which may be set.
Note for Corona Information Markets
Build directly with
react-scripts
:npx react-scripts buildMake sure you do not use
yarn build
. The build script altersreact-scripts
to support building with 3Box. If you already usedyarn build
, removenode_modules
and reinstall the dependencies to build optimally for Corona Information Markets.
For normal Omen builds, use yarn build
, but for Corona Information Markets, see note above.
The build
directory in the app
directory will now contain the build to be served.