mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Merge pull request #149 from return42/doc-install-plg
[doc] admin manual - describe installation of external plugins
This commit is contained in:
		
						commit
						fdc367d58b
					
				
					 1 changed files with 24 additions and 2 deletions
				
			
		|  | @ -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 . | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Alexandre Flament
						Alexandre Flament