summaryrefslogtreecommitdiff
path: root/docs/admin/settings
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-08-06 16:39:00 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-08-06 19:37:12 +0200
commit64100db9045ec712afbd8fa1becee14f7109921c (patch)
treefc80dd5f2006c278abcc74c77c84c865579a9f10 /docs/admin/settings
parent1d0abb7157a24fd2c43afe30a35527cba3d6967a (diff)
downloadsearxng-64100db9045ec712afbd8fa1becee14f7109921c.tar.gz
searxng-64100db9045ec712afbd8fa1becee14f7109921c.zip
[doc] improve documentation of make targets and ./manage script
BTW force modularization of the ./mange script into sub modules: - utils/lib_sxng_data.sh - utils/lib_sxng_node.sh - utils/lib_sxng_static.sh - utils/lib_sxng_test.sh - utils/lib_sxng_themes.sh Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/admin/settings')
-rw-r--r--docs/admin/settings/settings_redis.rst28
1 files changed, 17 insertions, 11 deletions
diff --git a/docs/admin/settings/settings_redis.rst b/docs/admin/settings/settings_redis.rst
index 49640f314..df5dc743f 100644
--- a/docs/admin/settings/settings_redis.rst
+++ b/docs/admin/settings/settings_redis.rst
@@ -24,20 +24,26 @@ developer) account needs to be added to the *searxng-redis* group.
rediss://[[username]:[password]]@localhost:6379/0
unix://[[username]:[password]]@/path/to/socket.sock?db=0
-.. admonition:: Tip for developers
+.. _Redis Developer Notes:
- To set up a local redis instance, first set the socket path of the Redis DB
- in your YAML setting:
+Redis Developer Notes
+=====================
- .. code:: yaml
+To set up a local redis instance, first set the socket path of the Redis DB
+in your YAML setting:
- redis:
- url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
+.. code:: yaml
- Then use the following commands to install the redis instance ::
+ redis:
+ url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
- $ ./manage redis.build
- $ sudo -H ./manage redis.install
- $ sudo -H ./manage redis.addgrp "${USER}"
- # don't forget to logout & login to get member of group
+Then use the following commands to install the redis instance (:ref:`manage
+redis.help`):
+
+.. code:: sh
+
+ $ ./manage redis.build
+ $ sudo -H ./manage redis.install
+ $ sudo -H ./manage redis.addgrp "${USER}"
+ # don't forget to logout & login to get member of group