back | ||
front | ||
.gitignore | ||
.project | ||
docker-compose.yaml | ||
Dockerfile | ||
readme.md |
Karauth
This repository manage 3 elements:
- The SSO backend: jersey REST server
- The SSO front-end: Angular login interface (KARSO)
- The adminitrator of the SSO: Angular adminitration interface of the SSO (KARSO)
To build the docker image:
gitea.atria-soft.org/kangaroo-and-rabbit/karso:latest
MySql manage multiple users:
It is better to not use root user and mange user for each service.
Add a new user
CREATE USER 'karso'@'%' IDENTIFIED BY 'base_db_password';
GRANT ALL PRIVILEGES ON `karso`.* TO 'karso'@'%';
FLUSH PRIVILEGES;
Note
the base_db_password with the production password. this one is for development environment
To start the service
docker-compose up -d
Note: you can manage a single Docker interface to manage all the KAR engine
docker pull archlinux:base-devel docker pull bellsoft/liberica-openjdk-alpine:latest
docker build -t gitea.atria-soft.org/kangaroo-and-rabbit/karso:latest .
docker login gitea.atria-soft.org
docker push gitea.atria-soft.org/kangaroo-and-rabbit/karso:latest
npx playwright test Runs the end-to-end tests.
npx playwright test --project=firefox Runs the tests only on Desktop Chrome.
npx playwright test example Runs the tests in a specific file.
npx playwright test --debug Runs the tests in debug mode.
npx playwright codegen Auto generate tests with Codegen.
We suggest that you begin by typing:
npx playwright test