diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-03 17:43:20 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-03 20:56:39 +0100 |
commit | a6cfab93fa7c1b1f0a04c073df42b50f2834d845 (patch) | |
tree | 3ea5eb2b6ede194671f9ef9e8e8c2e7531d77e5e /docs/src | |
parent | 4f1130d6639ca93cd827f8c2bdaed1c3864f1af3 (diff) | |
download | searxng-a6cfab93fa7c1b1f0a04c073df42b50f2834d845.tar.gz searxng-a6cfab93fa7c1b1f0a04c073df42b50f2834d845.zip |
[enh] add redis connector searx/shared/redisdb.py
Add a redis connector, the default DB connector is a socket at::
unix:///usr/local/searxng-redis/run/redis.sock?db=0
To set up a redis instance simply use::
$ ./manage redis.build
$ sudo -H ./manage redis.install
A hint for developers:
To get access rights to this instance, your developer account needs to be added
to the *searxng-redis* group::
$ sudo -H ./manage redis.addgrp "${USER}"
# don't forget to logout & login to get member of group
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/searx.shared.redisdb.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/src/searx.shared.redisdb.rst b/docs/src/searx.shared.redisdb.rst new file mode 100644 index 000000000..265d87617 --- /dev/null +++ b/docs/src/searx.shared.redisdb.rst @@ -0,0 +1,8 @@ +.. _redis db: + +======== +Redis DB +======== + +.. automodule:: searx.shared.redisdb + :members: |