Skip to content

Javascript frontend for the ID2 ticketing system

License

Notifications You must be signed in to change notification settings

occrp/id-frontend

Repository files navigation

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