summaryrefslogtreecommitdiff
path: root/docs/dev/makefile.rst
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-10-02 12:21:02 +0200
committerAlexandre Flament <alex@al-f.net>2021-10-02 16:54:11 +0200
commit430babca253369d82e864500118f914a9420f74b (patch)
treebed242205b23585a485911a344dd478dce6a6f76 /docs/dev/makefile.rst
parente39a03cc61e9792afb34084fb4d9973a61deecea (diff)
downloadsearxng-430babca253369d82e864500118f914a9420f74b.tar.gz
searxng-430babca253369d82e864500118f914a9420f74b.zip
SearXNG: environment variables
Diffstat (limited to 'docs/dev/makefile.rst')
-rw-r--r--docs/dev/makefile.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/dev/makefile.rst b/docs/dev/makefile.rst
index 14e9b0555..77c0dddde 100644
--- a/docs/dev/makefile.rst
+++ b/docs/dev/makefile.rst
@@ -124,7 +124,7 @@ browser (:man:`xdg-open`)::
$ make run
PYENV OK
- SEARX_DEBUG=1 ./manage.sh pyenv.cmd python ./searx/webapp.py
+ SEARXNG_DEBUG=1 ./manage.sh pyenv.cmd python ./searx/webapp.py
...
INFO:werkzeug: * Running on http://127.0.0.1:8888/ (Press CTRL+C to quit)
@@ -210,15 +210,15 @@ by underline::
make search.checker.google_news
-To see HTTP requests and more use SEARX_DEBUG::
+To see HTTP requests and more use SEARXNG_DEBUG::
- make SEARX_DEBUG=1 search.checker.google_news
+ make SEARXNG_DEBUG=1 search.checker.google_news
.. _3xx: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_redirection
To filter out HTTP redirects (3xx_)::
- make SEARX_DEBUG=1 search.checker.google_news | grep -A1 "HTTP/1.1\" 3[0-9][0-9]"
+ make SEARXNG_DEBUG=1 search.checker.google_news | grep -A1 "HTTP/1.1\" 3[0-9][0-9]"
...
Engine google news Checking
https://news.google.com:443 "GET /search?q=life&hl=en&lr=lang_en&ie=utf8&oe=utf8&ceid=US%3Aen&gl=US HTTP/1.1" 302 0