Skip to main content

Tuva EMPI Frontend

Development

Installation

Inside the dev Docker container, you can run:

  1. cd frontend
  2. npm install
  3. npm run dev

Then, on the host, in a web browser, visit localhost:9000

Testing and formatting

  1. Run formatter: npm run format
  2. Run linter: npm run lint

Running the production build

  1. npm run build
  2. npm run start

Troubleshooting

  1. Delete node_modules folder prior to running npm install
  2. Remove and restart docker container docker rm tuva-empi-frontend-1 before building and starting the container.
  3. Ensure docker login docker login