[doc] admin manual - describe installation of external plugins

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-06-19 18:36:23 +02:00
parent 127552f67b
commit d70ec8826d

View file

@ -73,14 +73,36 @@ This installs searx as described in :ref:`installation basic`.
If all services are running fine, you can add it to your HTTP server: If all services are running fine, you can add it to your HTTP server:
**Install** HTTP
- :ref:`installation apache` - :ref:`installation apache`
- :ref:`installation nginx` - :ref:`installation nginx`
**Install** :ref:`external plugins <dev plugin>`
Use searx's ``shell`` to install external plugins. In the example below we
install the searx plugins from **The Green Web Foundation** `[ref]
<https://www.thegreenwebfoundation.org/news/searching-the-green-web-with-searx/>`__:
.. code:: bash
$ sudo -H ./utils/searx.sh shell
// exit with [CTRL-D]
(searx-pyenv) searx@ryzen:~$ pip install git+https://github.com/return42/tgwf-searx-plugins
In the :ref:`settings.yml` activate the ``plugins:`` section and add module
``only_show_green_results`` from tgwf-searx-plugins.
.. code:: yaml
plugins:
- only_show_green_results
.. _git stash: https://git-scm.com/docs/git-stash .. _git stash: https://git-scm.com/docs/git-stash
.. tip:: .. tip::
About script's installation options have a look at chapter :ref:`toolboxing About script's installation options have a look at chapter :ref:`toolboxing
setup`. How to brand your instance see chapter :ref:`settings global`. To setup`. How to brand your instance see chapter :ref:`settings global`. To
*stash* your instance's setup, `git stash`_ your clone's :origin:`Makefile` *stash* your instance's setup, `git stash`_ your clone's :origin:`.config.sh`
and :origin:`.config.sh` file . file .