-
Clone/download the repository,
git clone [email protected]:dhsh-checkmk/debug-playwright-focus.git
or download it as a zip file.
-
Navigate to the root directory of the repository.
-
Download, load and run Checkmk within a docker container.
Use install script to perform the actions.
NOTE: ports
8080
and8000
need to be availble beforeinstall script
execution. Check theinstall script
for docker container initialization.In-depth installation details can be found here.
-
Update password within test_debug.py.
If successful, the
install script
outputs the (admin) user and password. Copy this password and pastes it's value withintest_debug::PASSWORD (line 16)
. -
Validate that checkmk website can accessed at
http://127.0.0.1:8080/cmk/check_mk/
$ python3 -m venv .venv
$ source .venv/bin/activate
(.venv)$ pip install -U pip wheel
(.venv)$ pip install -r requirements.txt
(.venv)$ pytest test_debug.py