summaryrefslogtreecommitdiff
path: root/manage.sh
AgeCommit message (Collapse)Author
2019-07-13Update Docker imageDalf
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
2019-07-06Fix ./manage.sh robot_tests (#1633)Alexandre Flament
doi_resolvers / default_doi_resolver were missing in the settings_robots.yml file, so the test server was not able to start (crash). Since the output wasn't displayed, it was not obvious why the Selenium couldn't connect to searx.
2018-08-26manage.sh : no error when npm is not found and not requireddalf
2018-08-01manage.sh : minor changeAlex
2018-02-21change echo to printfNoémi Ványi
2018-02-21remove the option of sourcing manage.shNoémi Ványi
2017-12-10[mod] simplify manage.shAlexandre Flament
- npm install less@2.7 less-plugin-clean-css grunt-cli is moved inside manage.sh - if it is possible to source manage.sh to update the PATH (to start grunt) - tidy the help documentation - update the geckodriver version to 0.19.1
2017-10-06adjust whitespace in shell scriptsThirnearez
2017-10-06handle input carefully in shell scriptsThirnearez
- prevent whitespace-splitting of variable expansions - prevent interpretation of values as flags/options (mostly)
2017-10-06fix a shell typo that generated a bogus fileThirnearez
2017-09-17Switch to code-covAlexandre Flament
2017-08-16"./manage.sh update_packages" updates pip and setuptoolsAlexandre Flament
Fix issue #887, #962
2017-08-16[fix] manage.sh: add quotes arround parameters dealing with directories or ↵Alexandre Flament
files.
2017-08-13[mod] travis build : travis uses ./manage.sh to install the geckodriverAlexandre Flament
./manage.sh don't build css that are built by ./manage.sh grunt_build
2017-08-13[fix] travis build : various fix about grunt buildsAlexandre Flament
2017-08-13[fix] fix selenium testsAlexandre Flament
2017-08-06[enh] add simple theme (WIP)Alexandre Flament
2017-01-26[fix] do not do unnecessary package upgradesAdam Tauber
2017-01-03[mod] ./manage.sh can download geckodriver and install it into the virtual ↵Alexandre Flament
environment
2016-09-22[mod] rename "default" theme to "legacy"Adam Tauber
2016-07-15[fix] styles fix according to the new oscar dir structureAdam Tauber
2016-07-05Quote variables and backticksJan Verbeek
Otherwise the script fails with spaces or asterisks in the directory path.
2016-03-17[fix] manage.sh return with actions exit statusAdam Tauber
2016-03-17[fix] posix compatibilityAdam Tauber
2016-03-02[fix] improve argument parsing of manage.shThomas Pointhuber
2016-01-18[fix] pep8 compatibiltyAdam Tauber
2016-01-10[fix] manage.sh dev package update helpAdam Tauber
2016-01-10[mod] update core deps with dev depsAdam Tauber
2016-01-10[doc] command descriptionsAdam Tauber
2016-01-10[fix] grunt action nameAdam Tauber
2016-01-10[fix] robot tests and pep8 checkAdam Tauber
2016-01-10[mod] remove buildout/makefile infrastructureAdam Tauber