* add basic e2e tests * add e2e to ci * fix docker pull * fix images in ci * maybe this will help * push latest on main for e2e * fix e2e on main * rename jobs
1.4 KiB
KéMkas
Kard és Mágia karakter alkotó segédlet (https://app.kemkas.hu)
[EN] Please excuse the Hungish, the domain language of KéM is hungarian, but the domain language of programming is english, which resulted in this monster.
[HU] Kérlek nézd el a kevert angol kifejezeséket, ugyan a szerepáték nyelve magyar, de a programozás szakmai nyelve angol.
Deployment
See deployment repo at: https://github.com/morbalint/kemkas-deployment
Coding readmes
For frontend only see: Frontend README
To start development, spin up the docker-compose.yaml file and use yarn to start frontend dev server.
For the first time setup:
dotnet dev-certs https --clean && \
dotnet dev-certs https --format PEM --no-password -ep ~/.aspnet/https/kemkas.pem --trust
Later start the docker compose first and the project launch settings after the DB is up and running.
E2E with Docker Compose
For a fully containerized end-to-end run (tagged backend image + freshly built frontend/e2e images):
docker compose -f docker-compose.e2e.yaml up --build --abort-on-container-exit --exit-code-from e2e e2e
Use BACKEND_IMAGE to select a specific backend tag, and note this compose stack auto-generates TLS certificates for the nginx proxy.