This is the the new Angular and Nestjs-based version of kotka CMS.
Start for localhost in docker-compose using docker-compose up
in the root of the projent, if permissions are denied comment out USER node
-line in the Docerfiles under tools/docker
for both kotka and api.
Before running the tests, you should put CYPRESS_TEST_EMAIL and CYPRESS_TEST_PASSWORD to you environment variables or to the file .env.e2e if you are running the tests with docker. There are two ways to run e2e tests:
-
While the application is running, run
npm run e2e
or
npm run e2e:watch
-
Run the tests with docker-compose:
docker-compose -f ./docker-compose.e2e.yml --env-file .env.e2e up