Commit Graph

23 Commits (6060ab85f8d920bd25093d70bf0a86920dcd5a9a)

Author SHA1 Message Date
Markus Heiser 0011890043 gh-pages - build docs & deploy on gh-pages branch
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser ef85943e06 Makefile: add documentation build targets docs & docs-live
BTW:
- add build & dist folder to .gitignore
- justify indentation of build messages (makefile.python)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser b55a8004ed boilerplate: add inital Makefile with run & install targets
Add *Makefile* boilerplate useful for python projects.  All python tasks are
using a virtualenv from ./local/py3

$ make help
  run       - run developer instance
  install   - developer install (./local)
  uninstall - uninstall (./local)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Dalf fbe40001d3 Update Docker image
See #1561 , use uwsgi and Alpine Linux

Volume:
/var/log/uwsgi contains error log for 2 days (file uwsgi.log)
/etc/searx contains the settings.yml and uwsgi.ini files.
The docker image creates them if they don't exist.
The two files can be modified after the first run. See below.

Environement variables:
MORTY_URL : external URL of Morty
MORTY_KEY : base64 encoded key
BASE_URL : external URL of Searx
BIND_ADDRESS : internal HTTP port to listen to

Labels : org.label-schema.schema.*

Parameters:
-h : display this help
-d : will update the settings and quit immediately (settings.yml and uwsgi.ini)
-f : always update the settings (previous version saved with suffix .old).
     without this parameter, the new settings are copied with suffix .new

When the Docker image contains newer settings:
- without -f parameter: the new versions are copied to /etc/searx/settings.yml.new and /etc/searx/uwsgi.ini.new.
- with -f parameter:  the old versions are renamed with .old suffix. The new version replaces /etc/searx/settings.yml and /etc/searx/uwsgi.ini

Build using "./manage.sh docker_build", add "push" as parameter also push the Docker image.
The script requires a git repository to work (it makes sure that the last git tag matches searx/version.py)
"git describe" is used to create a meaningful version.
Example : 0.15.0-90-49c5bcb4-dirty (dirty means that the docker image was made with uncommited changes).

Use "docker inspect -f {{.Config.Labels.version}} searx" to get the version of an existing image.

.dockerignore based on .gitignore

.travis.yml: include docker stage
5 years ago
trankmichael fc50699d69 added searx-ve to gitignore 6 years ago
marc a0a1284998 wikidata refactor and more attributes (see issue #560) 8 years ago
Adam Tauber 39d2e0427f [fix] robot tests and pep8 check 9 years ago
Adam Tauber 53979a7bf7 [mod] remove buildout/makefile infrastructure 9 years ago
Adam Tauber c5135f690d [mod] transifex client dir added to gitignore 9 years ago
Cqoicebordel 525af2a031 Add bing in the test units 10 years ago
Thomas Pointhuber e687f5c290 [enh][oscar_template] split js-files and compile them together 10 years ago
Matej Cotman 8e7799d681 fix typo in git ignore file 11 years ago
Matej Cotman dd4662978d fix: robot fw, entry points, some flake8, package searx egg 11 years ago
asciimoo dcbf17f570 [fix] typo 11 years ago
asciimoo 3afdd1d994 [enh] settings unification - new dependency: pyyaml 11 years ago
Matej Cotman 8210fe90ea production environment with supervisor and crontab 11 years ago
asciimoo 77bd3e0496 [enh] gitignore updates 11 years ago
Matej Cotman e740c8a8ea tests and robot tests framework, build overhaul 11 years ago
pw3t b71bddad06 [enh] 1st version of filecrop engine, to discover how searx works 11 years ago
asciimoo 459a35c1c6 [enh] engines.cfg gitignored 11 years ago
asciimoo 34941aca3f [mod] .gitignore changes 11 years ago
asciimoo 1b3712c189 [enh] settings.py added 11 years ago
asciimoo ae9fb1d7dc [enh] initial commit 11 years ago