on master help sign in
Merge pull request #2287 from return42/fix-make-run

[fix] make.run - use SEARX_DEBUG=1 instead of modifing settings.yml

commitd553de4909310fbd6666b58edb00c2777c928235 authorNoémi Ványi <kvch@users.noreply.github.com> dateSat 31 Oct 2020, 16:51 (6 years ago) parente697d784a15d67
1 file changed+1−4
Makefile+1−4
Makefile+1−4
@@ -66,13 +66,10 @@ clean: pyclean docs-clean node.clean test.clean
6666PHONY += run
6767run: buildenv pyenvinstall
6868 $(Q) ( \
69− sed -i -e "s/debug : False/debug : True/g" ./searx/settings.yml ; \
7069 sleep 2 ; \
7170 xdg-open http://127.0.0.1:8888/ ; \
72− sleep 3 ; \
73− sed -i -e "s/debug : True/debug : False/g" ./searx/settings.yml ; \
7471 ) &
75− $(PY_ENV)/bin/python ./searx/webapp.py
72+ SEARX_DEBUG=1 $(PY_ENV)/bin/python ./searx/webapp.py
7673
7774# docs
7875# ----