forked from Ponysearch/Ponysearch
Merge pull request #2287 from return42/fix-make-run
[fix] make.run - use SEARX_DEBUG=1 instead of modifing settings.yml
This commit is contained in:
commit
d553de4909
1 changed files with 1 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -66,13 +66,10 @@ clean: pyclean docs-clean node.clean test.clean
|
||||||
PHONY += run
|
PHONY += run
|
||||||
run: buildenv pyenvinstall
|
run: buildenv pyenvinstall
|
||||||
$(Q) ( \
|
$(Q) ( \
|
||||||
sed -i -e "s/debug : False/debug : True/g" ./searx/settings.yml ; \
|
|
||||||
sleep 2 ; \
|
sleep 2 ; \
|
||||||
xdg-open http://127.0.0.1:8888/ ; \
|
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
|
# docs
|
||||||
# ----
|
# ----
|
||||||
|
|
Loading…
Reference in a new issue