1# convenience makefile to boostrap & run buildout
2# use `make options=-v` to run buildout with extra options
10.installed.cfg: bin/buildout buildout.cfg setup.py
11 bin/buildout $(options)
13bin/buildout: $(python) buildout.cfg bootstrap.py
14 $(python) bootstrap.py
18 virtualenv -p python$(version) --no-site-packages .
31coverage: .installed.cfg
32 @bin/coverage run --source=./searx/ --branch bin/test
33 @bin/coverage report --show-missing
34 @bin/coverage html --directory ./coverage
36production: bin/buildout production.cfg setup.py
37 bin/buildout -c production.cfg $(options)
38 @echo "* Please modify `readlink --canonicalize-missing ./searx/settings.py`"
39 @echo "* Hint 1: on production, disable debug mode and change secret_key"
40 @echo "* Hint 2: searx will be executed at server startup by crontab"
41 @echo "* Hint 3: to run immediatley, execute 'bin/supervisord'"
43minimal: bin/buildout minimal.cfg setup.py
44 bin/buildout -c minimal.cfg $(options)
47 @lessc -x searx/static/less/style.less > searx/static/css/style.css
50 @pybabel compile -d searx/translations
53 @rm -rf .installed.cfg .mr.developer.cfg bin parts develop-eggs \
54 searx.egg-info lib include .coverage coverage searx/static/css/*.css
56.PHONY: all tests robot flake8 coverage production minimal styles locales clean
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list