Skip to content
Snippets Groups Projects
Erwan Rouchet's avatar
Erwan Rouchet authored
d821bf6e
History

Arkindex Frontend

This project is the open-source frontend of Arkindex, used to manage and process image documents with Machine Learning tools.

It is licensed under the AGPL-v3 license.

Dev Setup

  1. Install Node.js 12 or later and NPM
  2. Clone the repository
  3. npm install
  4. pip install pre-commit
  5. pre-commit install

Common operations

  • npm run build: Build for development, no Docker image

  • npm start: Start a local development server on localhost:8080

  • npm run production: Build for production, no Docker image

  • npm run test or npm t: Run unit tests

  • make build: Build to a local Docker image using latest GitLab CI artifact

  • make clean: Clean build stuff

  • make all: Clean and build

Linting rules

See the .eslintrc.yml file for the exact ESLint settings. The linting rules are based on the following sets:

Some rules have been customized: