summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2020-10-31 16:51:20 +0100
committerGitHub <noreply@github.com>2020-10-31 16:51:20 +0100
commitd553de4909310fbd6666b58edb00c2777c928235 (patch)
treec15e191d5421d411a32d6a40822a68e767edaccf
parente697d78d5a907014252df9aec79d981b800aac91 (diff)
parent4a15d675d5478c1d350335e106879622c541f3c2 (diff)
Merge pull request #2287 from return42/fix-make-run
[fix] make.run - use SEARX_DEBUG=1 instead of modifing settings.yml
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a64c5ec86..2eeff8535 100644
--- a/Makefile
+++ b/Makefile
@@ -66,13 +66,10 @@ clean: pyclean docs-clean node.clean test.clean
PHONY += run
run: buildenv pyenvinstall
$(Q) ( \
- sed -i -e "s/debug : False/debug : True/g" ./searx/settings.yml ; \
sleep 2 ; \
xdg-open http://127.0.0.1:8888/ ; \
- sleep 3 ; \
- sed -i -e "s/debug : True/debug : False/g" ./searx/settings.yml ; \
) &
- $(PY_ENV)/bin/python ./searx/webapp.py
+ SEARX_DEBUG=1 $(PY_ENV)/bin/python ./searx/webapp.py
# docs
# ----