/id-frontend

Javascript frontend for the ID2 ticketing system

Primary LanguageJavaScriptMIT LicenseMIT

The Investigative Dashboard project web app 🕵️

Translation status

OCCRP research desk application front-end.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd id-frontend
  • docker-compose run ember npm install

Running / Development

Code Generators

Make use of the many generators for code, try ./ember help generate for more details.

Running Tests

  • ./ember test
  • ./ember test --server

Linting

  • docker-compose run ember npm run lint:hbs
  • docker-compose run ember npm run lint:js
  • docker-compose run ember npm run lint:js -- --fix

Building

  • ./ember build (development)
  • ./ember build --environment production (production)

Deploying

Deployments are done using our CI/CD.

Translations

Translations are managed on Weblate.

To sync the translations add the git repository and rebase Weblate commits:

$ git remote add weblate https://hosted.weblate.org/git/occrp/investigative-dashboard/
$ git fetch -all
$ git rebase weblate/master