summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatej Cotman <cotman.matej@gmail.com>2014-01-15 21:18:11 +0100
committerMatej Cotman <cotman.matej@gmail.com>2014-01-15 21:19:24 +0100
commit8210fe90eaff71d5c78cec07e0172444e8b3de97 (patch)
treec4666cf032522990314b18ccefeadfbe7e83ec9a /Makefile
parent77bd3e04968e9450203fbb2b0ef4b9eb165c5889 (diff)
downloadsearxng-8210fe90eaff71d5c78cec07e0172444e8b3de97.tar.gz
searxng-8210fe90eaff71d5c78cec07e0172444e8b3de97.zip
production environment with supervisor and crontab
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b63282ec9..da59ad659 100644
--- a/Makefile
+++ b/Makefile
@@ -37,14 +37,18 @@ coverage: .installed.cfg
@bin/coverage report --show-missing
@bin/coverage html --directory ./coverage
-minimal: bin/buildout production.cfg setup.py enginescfg
+production: bin/buildout production.cfg setup.py enginescfg
bin/buildout -c production.cfg $(options)
@echo "* Please modify `readlink --canonicalize-missing ./searx/settings.py`"
@echo "* Hint 1: on production, disable debug mode and change secret_key"
- @echo "* Hint 2: to run server execute 'bin/searx-run'"
+ @echo "* Hint 2: searx will be executed at server startup by crontab"
+ @echo "* Hint 3: to run immediatley, execute 'bin/supervisord'"
+
+minimal: bin/buildout minimal.cfg setup.py enginescfg
+ bin/buildout -c minimal.cfg $(options)
clean:
@rm -rf .installed.cfg .mr.developer.cfg bin parts develop-eggs \
searx.egg-info lib include .coverage coverage
-.PHONY: all tests enginescfg robot flake8 coverage minimal clean
+.PHONY: all tests enginescfg robot flake8 coverage production minimal clean