Skip to content

romi/farmers-dashboard

Repository files navigation

farmers-dashboard

A web interface to visualize the image data and image analyses collected on farms with the Romi tools.

Requirement

Name Version
node >= 14
docker >= 19
docker-compose >= 1.26

Install dependencies

$> yarn # or npm install

Usages

Run App in Developement

$> yarn start # or npm start

Build App

$> yarn build # or npm run build

Docker

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`

Test

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

Lint

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

About

A web interface to visualize the image data and image analyses collected on farms with the Romi tools.

Resources

License

Stars

3 stars

Watchers

7 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages