-
Clone/download the repository,
git clone [email protected]:dhsh-checkmk/debug-playwright-focus.gitor 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
8080and8000need to be availble beforeinstall scriptexecution. Check theinstall scriptfor docker container initialization.In-depth installation details can be found here.
-
Update password within test_debug.py.
If successful, the
install scriptoutputs 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