sanger-archive / lighthouse-ui

Front end for lighthouse API
2 stars 4 forks source link

Lighthouse UI

CI codecov code style: prettier

A Nuxt JS application that provides SSRs the ability to interact with the lighthouse service and other LIMS. Some of the features include:

Table of Contents

Requirements for development

The following tools are required for development:

Getting started

The following services are not required but can be beneficial during development:

Configuring environment

Create a .env file, or copy the .env.example, and update the values to meet your setup.

Setup steps

Install the require packages:

npm install

Running

To serve the application with hot reloading:

npm run dev

Linting

This project is linted using ESLint. To lint the code, run:

npm run lint .

Testing

Running tests

To run the Jest test suite:

npm test

There are also some cypress tests which can be run as follows:

npx cypress run

Deployment

This project uses a Docker image as the unit of deployment. To create a release for deployment, create a release in GitHub and wait for the GitHub action to create the Docker image.

The release version should align with the standards.

Miscellaneous

Updating the Table of Contents

To update the table of contents after adding things to this README you can use the markdown-toc node module. To run:

npx markdown-toc -i --bullets="-" -- README.md