Science Capsule React UI - development
Installation
Note: unless otherwise specified, run these steps from the directory where this README is located (currently sc/app/frontend
)
-
Create a new Conda environment from the
environment.yml
file in this directory:conda env create --file environment.yml && conda activate scicap-ui-2022-07
-
Install the JavaScript dependencies using
yarn
:yarn install
-
Start the React development server:
npm start
-
Start the Storybook development server:
npm run storybook