Skip to content

Latest commit

 

History

History
 
 

web

Install dependencies

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

Build and serve a production bundle

yarn prod:build
yarn prod:serve:nowatch # load localhost:8080

Development mode

npm run dev:start # http://localhost:3000/