diff options
-rw-r--r-- | README.md | 9 | ||||
-rwxr-xr-x | install.sh | 17 | ||||
-rw-r--r-- | src/RyzomForum.py (renamed from RyzomForum.py) | 0 | ||||
-rw-r--r-- | src/devryzom.py (renamed from devryzom.py) | 0 | ||||
-rw-r--r-- | src/forgeryzom.py (renamed from forgeryzom.py) | 0 | ||||
-rw-r--r-- | src/khaganatForum.py (renamed from khaganatForum.py) | 0 | ||||
-rw-r--r-- | src/khaganatWikhan.py (renamed from khaganatWikhan.py) | 0 | ||||
-rw-r--r-- | src/ryzomcoreConfluence.py (renamed from ryzomcoreConfluence.py) | 0 | ||||
-rw-r--r-- | src/settings.yml (renamed from settings.yml) | 25 | ||||
-rwxr-xr-x | start.sh | 3 |
10 files changed, 51 insertions, 3 deletions
@@ -30,6 +30,15 @@ Si "moteurs de recherche" est entre guillmet, c'est que ce ne sont pas des moteu * khaganat.net/forum: !kf * ryzom.com/forum: !rc +# Installation + +Pour installer il suffit de lancer `install.sh` afin d'installer searx et de +le configurer directement. + +# Usage + +Pour lancer le serveur, il suffit de lancer `start.sh`. + # Développement (searx utilise python 2.7, ça peut toujours être utile comme info) diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..4793895 --- /dev/null +++ b/install.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +git clone https://github.com/asciimoo/searx.git +cd searx +git checkout v0.13.1 +cd .. +ln -s ../../../src/devryzom.py searx/searx/engines/devryzom.py +ln -s ../../../src/khaganatWikhan.py searx/searx/engines/khaganatWikhan.py +ln -s ../../../src/khaganatForum.py searx/searx/engines/khaganatForum.py +ln -s ../../../src/forgeryzom.py searx/searx/engines/forgeryzom.py +ln -s ../../../src/ryzomcoreConfluence.py searx/searx/engines/ryzomcoreConfluence.py +ln -s ../../../src/RyzomForum.py searx/searx/engines/RyzomForum.py +cp src/settings.yml searx/searx/settings.yml +virtualenv venv -p python2.7 +source venv/bin/activate +./searx/manage.sh update_packages + diff --git a/RyzomForum.py b/src/RyzomForum.py index 083696c..083696c 100644 --- a/RyzomForum.py +++ b/src/RyzomForum.py diff --git a/devryzom.py b/src/devryzom.py index 7201096..7201096 100644 --- a/devryzom.py +++ b/src/devryzom.py diff --git a/forgeryzom.py b/src/forgeryzom.py index 850ae43..850ae43 100644 --- a/forgeryzom.py +++ b/src/forgeryzom.py diff --git a/khaganatForum.py b/src/khaganatForum.py index 781a1cf..781a1cf 100644 --- a/khaganatForum.py +++ b/src/khaganatForum.py diff --git a/khaganatWikhan.py b/src/khaganatWikhan.py index 083696c..083696c 100644 --- a/khaganatWikhan.py +++ b/src/khaganatWikhan.py diff --git a/ryzomcoreConfluence.py b/src/ryzomcoreConfluence.py index 5d35c9f..5d35c9f 100644 --- a/ryzomcoreConfluence.py +++ b/src/ryzomcoreConfluence.py diff --git a/settings.yml b/src/settings.yml index 76f1c3d..db1cf22 100644 --- a/settings.yml +++ b/src/settings.yml @@ -9,13 +9,15 @@ search: server: port : 8888 - bind_address : "0.0.0.0" # address to listen on - secret_key : "e6a21d96debe828f1cad62074bec30a2" # change this! + bind_address : "127.0.0.1" # address to listen on + secret_key : "ultrasecretkey" # change this! base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" image_proxy : False # Proxying image results through searx + http_protocol_version : "1.0" # 1.0 and 1.1 are supported ui: - themes_path : "" # Custom ui themes path - leave it blank if you didn't change + static_path : "" # Custom static path - leave it blank if you didn't change + templates_path : "" # Custom templates path - leave it blank if you didn't change default_theme : oscar # ui theme default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section @@ -70,13 +72,18 @@ engines: locales: en : English + ar : العَرَبِيَّة (Arabic) bg : Български (Bulgarian) + cs : Čeština (Czech) + da : Dansk (Danish) de : Deutsch (German) el_GR : Ελληνικά (Greek_Greece) eo : Esperanto (Esperanto) es : Español (Spanish) + fi : Suomi (Finnish) fr : Français (French) he : עברית (Hebrew) + hr : Hrvatski (Croatian) hu : Magyar (Hungarian) it : Italiano (Italian) ja : 日本語 (Japanese) @@ -85,5 +92,17 @@ locales: pt_BR : Português (Portuguese_Brazil) ro : Română (Romanian) ru : Русский (Russian) + sk : Slovenčina (Slovak) + sl : Slovenski (Slovene) + sr : српски (Serbian) + sv : Svenska (Swedish) tr : Türkçe (Turkish) + uk : українська мова (Ukrainian) zh : 中文 (Chinese) + +doi_resolvers : + oadoi.org : 'https://oadoi.org/' + doi.org : 'https://doi.org/' + doai.io : 'http://doai.io/' + +default_doi_resolver : 'oadoi.org' diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..7745c4b --- /dev/null +++ b/start.sh @@ -0,0 +1,3 @@ +#!/bin/bash +source ./venv/bin/activate +python2.7 searx/searx/webapp.py |