Firstly, ensure you have a suitable environment with nodejs, npm and yarn. There are many approaches to this, for example using conda:
conda create -c conda-forge --name covariants nodejs=14
conda activate covariants
npm install -g yarn
Secondly, install node dependencies:
yarn install --frozen-lockfile
Finally, create a suitable build environment:
cp .env.example .env # .env is gitignored
yarn prod:build
yarn prod:serve:nowatch # load localhost:8080
npm run dev:start # http://localhost:3000/