From: Aleš Mrázek Date: Tue, 4 Jun 2024 04:48:21 +0000 (+0200) Subject: doc/dev/build.rst: installing the manager from source X-Git-Tag: v6.0.8~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c7994f6ffb08ff52f92d6c9cfbb9b7eba4860d;p=thirdparty%2Fknot-resolver.git doc/dev/build.rst: installing the manager from source --- diff --git a/doc/dev/build.rst b/doc/dev/build.rst index 8a08ed4ff..2e8e7d17b 100644 --- a/doc/dev/build.rst +++ b/doc/dev/build.rst @@ -92,20 +92,6 @@ The following dependencies are needed to build and run Knot Resolver with core f "lmdb", "Memory-mapped database for cache" "GnuTLS", "TLS" -Additional dependencies are needed to build and run Knot Resolver with ``manager``: -All dependencies are also listed in `pyproject.toml `_ which is our authoritative source. - -.. csv-table:: - :header: "Requirement", "Notes" - - "python3_ >=3.7", "Python language interpreter" - "Jinja2_", "Template engine for Python" - "PyYAML_", "YAML framework for Python" - "aiohttp_", "HTTP Client/Server for Python." - "prometheus-client_", "Prometheus client for Python" - "typing-extensions_", "Compatibility module for Python" - - There are also *optional* packages that enable specific functionality in Knot Resolver: @@ -307,6 +293,36 @@ In case you want to have automatically managed DNSSEC trust anchors instead, set ``-Dmanaged_ta=enabled`` and make sure both ``keyfile_default`` file and its parent directories are writable by kresd process (after package installation!). +********************************** +Installing the manager from source +********************************** + +Additional dependencies are needed to run Knot Resolver with the ``manager``. +All dependencies are also listed in `pyproject.toml `_ which is our authoritative source. + +.. csv-table:: + :header: "Requirement", "Notes" + + "python3_ >=3.8", "Python language interpreter" + "Jinja2_", "Template engine for Python" + "PyYAML_", "YAML framework for Python" + "aiohttp_", "HTTP Client/Server for Python." + "typing-extensions_", "Compatibility module for Python" + "prometheus-client_", "Prometheus client for Python (optional)" + + + You can install the ``manager`` using generated ``setup.py``. + +.. code-block:: bash + + cd manager + python3 setup.py install + +.. tip:: + + For development, it is recommended to run the manager using the procedure described in `manager/README.md `_. + + ************ Docker image ************