- Docker
- Docker Compose
- Node.js
Run project locally on your machine.
npm start # or
docker compose up
Run all e2e tests. In order for this to work locally, you need to change the Node version from the RedHat to node:latest
for example. Then run the following command:
npm run test
Run e2e tests in interactive Cypress environment. In order for this to work correctly change the baseURL in the cypress.config to localhost:3000
. Then you can run the following command:
npm run test:cypress
Run static code analysis tools. Each commit triggers these runs through the pre-commit hooks.
npm run lint # Run eslint
npm run format # Run prettier
To use production data for development run
./scripts/get_prod_db.sh
Typescript? as unknown as ...
and : any
are allowed.
"Dynamic types are customer value"
– mluukkai, maybe
Create a .env
file inside the project's root directory. In that file, copy the contents of the .env.template
file and add correct values for the variables based on the documentation.
Get the JAMI api key from Openshift JAMI pod. Use version.helsinki.fi documentation for that.
Get the OPENAI api key from someone developing currently.
Curre emojis & gif by https://github.com/googlefonts/noto-emoji/ licenced under SIL