Skip to content
Snippets Groups Projects

Arkindex Frontend

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: