Markus Heiser
44edc92569
[fix] morty: PUBLIC_URL_PATH_MORTY needs trailing slash
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
f693149cde
Changes from the installation tests on (all) LXC containers.
...
Tested and fixed HTTP & uWSGI installation on:
ubu1604 ubu1804 ubu1910 ubu2004 fedora31 archlinux
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
ee39a098ac
apache: normalize installation (docs and script)s over all distros
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser
eb0d4646d8
docs: rework of chapter "Install with apache"
...
BTW: normalize installation-nginx.rst
4 years ago
Markus Heiser
c81849cb5a
filtron.sh & morty.sh: improve usage message (if used in containers)
...
BTW: normalize soma variable names
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
c2caf9569c
[fix] creation of /.lxcenv in containers
...
In utils/lib.sh there are two functions with the same name, but different tasks.
Rename one of them from lxc_init_container() into lxc_init_container_env().
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
c748047e92
utils/searx.sh: add cmd to (un)set option image_proxy and result_proxy
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
e530e20ae6
misc: fix variuous marginals
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
3c19f2f1ce
utils/lxc.sh install: support installation on selected containers
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
84daf9999c
docs: remove PR #1803 hints
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
e32b08f616
utils/morty.sh: add generic documentation
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
853be4e11c
utils/filtron.sh: add generic documentation
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
af988dbf71
utils/lxc.sh: support build of selected containers
...
$ sudo -H ./utils/lxc.sh build <name>
$ sudo -H ./utils/lxc.sh show [images|suite|info|config [<name>]]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
f32b4fcedd
LXC: add virtualenv to LXC_BASE_PACKAGES
...
Commit 09a40625
adds virtualenv dependency. BTW remove deprecated
--no-site-packages. Not having access to global site-packages is now the
default behavior.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
2441e24288
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
5 years ago
Markus Heiser
65e8af62b1
Merge pull request #1910 from return42/rfc-travis
...
improve travis build
5 years ago
Markus Heiser
70d114fab5
Merge branch 'master' into rfc-travis
5 years ago
Markus Heiser
41f002b0ea
travis: remove before_cache handle
...
BTW: separate env output in the travis log
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
07932951f2
Merge pull request #1911 from dalf/docker-tag-fix
...
[fix] travis: fix docker tag.
5 years ago
Dalf
4dad366146
[fix] travis: fix docker tag.
...
the "-dirty" ignores the searx/brand.py and utils/brand.env files.
5 years ago
Markus Heiser
fc89c698bd
make test.pylint: do not run pylint checks in py2
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
09a4062505
makefile.python: partial revert off 9b48ae47
, adds py2 support back
...
revert "makefile.python: ... drop build support py2" to get back Py2 support.
TPy2 support need virtualenv installed by the OS.
BTW: log environment and python version in travis's install phase
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
31437d04e8
makefile.python: hardening - start pylint by module
...
- replace: $(PY_ENV_BIN)/pylint --> $(PY_ENV_BIN)/python -m pylint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
565493b57d
travis: use Makefile target travis.codecov to install codecov
...
fix travis build error [1]::
The command "local/py3/bin/pip install codecov" failed and exited with 127
Use the correct pip (python environment) from build environment::
$(PY_ENV_BIN)/python -m pip
[1] https://travis-ci.org/github/asciimoo/searx/jobs/669701405#L590
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
e340bb5bd1
travis: remove platform option arm64
...
[1] https://github.com/asciimoo/searx/pull/1910#issuecomment-607244871
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
adc3a855e6
Revert "travis: disable cache"
...
This reverts commit eb87b07d51
.
5 years ago
Markus Heiser
eb87b07d51
travis: disable cache
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
9e32fb27e7
[fix] travis: Permission denied: '/home/travis/.cache/pip/...'
...
Fix "Permission denied: '/home/travis/.cache/" errors from travis build [1].
Change owner https://docs.travis-ci.com/user/caching/#caches-and-read-permissions
and remove old log in the *before_caching* phase:
https://docs.travis-ci.com/user/caching/#before_cache-phase
About pip cache see: https://docs.travis-ci.com/user/caching/#pip-cache
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
[1] https://travis-ci.org/github/asciimoo/searx/jobs/669664131#L220
5 years ago
Markus Heiser
9b48ae47ec
makefile.python: hardening - drop virtualenv, drop build support py2
...
From py3.3 on a subset of virtualenv is built-in, so you can run '-m venv' ot of
the box.
- replace: $(PY_ENV_BIN)/pip --> $(PY_ENV_BIN)/python -m pip
- remove obsolete virtualenv-exe target and adjust VTENV_OPTS
- remove obsolete msg-pip-exe target
- print list of py launchers available from $(PY_ENV_BIN) to the log
- fix hard coded ./local
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
8c145ff2fe
travis: build on os: linux, dist: bionic, use platform arch: arm64
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
b18880985c
travis: make travis build more verbose
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
0a951d0e55
[fix] travis: Permission denied: '/home/travis/.cache/pip/...'
...
Change owner https://docs.travis-ci.com/user/caching/#caches-and-read-permissions
and remove old log in the *before_caching* phase:
https://docs.travis-ci.com/user/caching/#before_cache-phase
About pip cache see: https://docs.travis-ci.com/user/caching/#pip-cache
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
a62e3c9358
travis: build on os: linux, dist: bionic, use platform arch: arm64
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
3bbcfe6ab3
travis: make travis build more verbose
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
d599bdff0d
travis: make travis build more verbose
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
6007bd7fc8
makefile.python: fix (old) typo
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
916d8a9e46
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
5 years ago
Markus Heiser
8189e18d91
Merge pull request #1905 from dalf/docker-build-fix
...
[fix] travis: fix docker build.
5 years ago
Alexandre Flament
2a1db2ac4a
Merge branch 'master' into docker-build-fix
5 years ago
Markus Heiser
81b9848eb9
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
5 years ago
Markus Heiser
f27f6c6c5d
docs: use make and uitls/searx.sh in containers
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
c97c4947d5
Merge pull request #1906 from dalf/pr-1900-typo-fix
...
[fix] template: fix typo in about.html
5 years ago
Dalf
4bb35e7ef5
[fix] template: fix typo in about.html
5 years ago
Dalf
d425e26e80
[fix] fix travis build
5 years ago
Markus Heiser
8634eeb9de
Merge branch 'master' of https://github.com/asciimoo/searx into filtron
5 years ago
Markus Heiser
dd53c45a2c
docs: add utils/lxc.sh docs, normalize filtron, morty & searx docs
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
949378a07f
Merge pull request #1900 from return42/issue-1898
...
export build variables / support brands
5 years ago
Markus Heiser
4e307edb2d
docs: document Makefile setup and 'buildenv' (aka brand)
...
Add documentation of the Makefile environment (aka brand, buildenv), introduced
in PR #1900 .
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
e73abd9d8a
Merge PR #1900 of https://github.com/asciimoo/searx into filtron
5 years ago
Markus Heiser
1ae39787c1
Makefile: rename target 'searx.brand' to 'buildenv'
...
And add 'buildenv' as an first order prerequisite to the main targets:
- install
- run
- docs
- docs-live
- project
- node.env
- docker
- test
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago