A web interface to visualize the image data and image analyses collected on farms with the Romi tools.
Name | Version |
---|---|
node | >= 14 |
docker | >= 19 |
docker-compose | >= 1.26 |
$> yarn # or npm install
Run App in Developement
$> yarn start # or npm start
Build App
$> yarn build # or npm run build
Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers.
Deploy website
$> docker-compose up --build -d
Deploy without docker-compose
$> docker built -f ./Dockerfile -t `image_name` $> docker run -p 80:80 `image_name`
Cypress is an end-to-end testing tools for anything that runs in a browser.
Don't forget to
Install dependencies
before running any command below
Run cypress with GUI
$> yarn cypress:open # or npm run cypress:open
Run cypress without GUI
$> yarn cypress # or npm run cypress
Run cypress with Docker without GUI
$> docker-compose -f docker-compose.yml -f docker-cypress.yml up --build
Eslint is a static code analysis tool for identifying problematic patterns found in JavaScript code.
Don't forget to
Install dependencies
before running any command below
Run linting
$> yarn lint # or npm run lint