Deploy searx/searx to github.com/searx/searx.git:gh-pages

This commit is contained in:
Deployment Bot (from Travis CI) 2020-10-31 00:28:12 +00:00
parent 53eddd22fe
commit e331300bd5
8 changed files with 41 additions and 16 deletions

View File

@ -141,6 +141,9 @@ Here is an example which makes a complete rebuild:
live build
----------
.. _sphinx-autobuild:
https://github.com/executablebooks/sphinx-autobuild/blob/master/README.md
.. sidebar:: docs-clean
It is recommended to assert a complete rebuild before deploying (use
@ -156,9 +159,21 @@ changed.
$ make docs-live
...
The HTML pages are in dist/docs.
... Serving on http://0.0.0.0:8080
... Serving on http://0.0.0.0:8000
... Start watching changes
Live builds are implemented by sphinx-autobuild_. Use environment
``$(SPHINXOPTS)`` to pass arguments to the sphinx-autobuild_ command. Except
option ``--host`` (which is always set to ``0.0.0.0``) you can pass any
argument. E.g to find and use a free port, use:
.. code:: sh
$ SPHINXOPTS="--port 0" make docs-live
...
... Serving on http://0.0.0.0:50593
...
.. _deploy on github.io:

View File

@ -224,8 +224,8 @@ a name of your choice <em>and/or</em> edit <code class="docutils literal not
</div>
<div class="ui bottom attached sphinx-tab tab segment sphinx-data-tab-YmFzaA== active docutils container">
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$ sudo -H cp /usr/local/searx/searx-src/searx/settings.yml /etc/searx/settings.yml
$ sudo -H sed -i -e s/ultrasecretkey/<span class="se">\e</span>eb004185df6a2eaefd222609da9ae75/g /etc/searx/settings.yml
$ sudo -H sed -i -e s/<span class="o">{</span>instance_name<span class="o">}</span>/searx@<span class="se">\t</span>ravis-job-65037331-08b7-414a-a603-4e5d1925f188/g /etc/searx/settings.yml
$ sudo -H sed -i -e s/ultrasecretkey/<span class="se">\f</span>67c49c19147657155987c08047a2c91/g /etc/searx/settings.yml
$ sudo -H sed -i -e s/<span class="o">{</span>instance_name<span class="o">}</span>/searx@<span class="se">\t</span>ravis-job-cf904d99-2f1f-49a3-ae6d-a28cd49d76c4/g /etc/searx/settings.yml
</pre></div>
</div>
</div>

View File

@ -181,10 +181,20 @@ changed.</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$ make docs-live
...
The HTML pages are in dist/docs.
... Serving on http://0.0.0.0:8080
... Serving on http://0.0.0.0:8000
... Start watching changes
</pre></div>
</div>
<p>Live builds are implemented by <a class="reference external" href="https://github.com/executablebooks/sphinx-autobuild/blob/master/README.md">sphinx-autobuild</a>. Use environment
<code class="docutils literal notranslate"><span class="pre">$(SPHINXOPTS)</span></code> to pass arguments to the <a class="reference external" href="https://github.com/executablebooks/sphinx-autobuild/blob/master/README.md">sphinx-autobuild</a> command. Except
option <code class="docutils literal notranslate"><span class="pre">--host</span></code> (which is always set to <code class="docutils literal notranslate"><span class="pre">0.0.0.0</span></code>) you can pass any
argument. E.g to find and use a free port, use:</p>
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$ <span class="nv">SPHINXOPTS</span><span class="o">=</span><span class="s2">&quot;--port 0&quot;</span> make docs-live
...
... Serving on http://0.0.0.0:50593
...
</pre></div>
</div>
</div>
<div class="section" id="deploy-on-github-io">
<span id="id2"></span><h3><a class="toc-backref" href="#id9">deploy on github.io</a><a class="headerlink" href="#deploy-on-github-io" title="Permalink to this headline"></a></h3>

File diff suppressed because one or more lines are too long

View File

@ -222,18 +222,18 @@ inspect service
show service status and log
option
set one of the available options
apache (http://10.20.0.205/searx)
apache (http://10.20.255.26/searx)
:install: apache site with a reverse proxy (ProxyPass)
:remove: apache site searx.conf
nginx (http://10.20.0.205/searx)
nginx (http://10.20.255.26/searx)
:install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site searx.conf
filtron rules: /etc/filtron/rules.json
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://10.20.0.205/searx
PUBLIC_HOST : 10.20.0.205
PUBLIC_URL : http://10.20.255.26/searx
PUBLIC_HOST : 10.20.255.26
SERVICE_USER : filtron
FILTRON_TARGET : 127.0.0.1:8888
FILTRON_API : 127.0.0.1:4005

View File

@ -195,7 +195,7 @@ install
:base: prepare LXC; install basic packages
:suite: install LXC searx suite into all (or &lt;name&gt;) containers
LXC suite: searx --&gt; http://10.20.0.205/searx
LXC suite: searx --&gt; http://10.20.255.26/searx
suite includes searx, morty &amp; filtron
suite images:
ubu1604 ubu1804 ubu1910 ubu2004 fedora31 archlinux centos7

View File

@ -224,22 +224,22 @@ inspect service
option
set one of the available options
:new-key: set new morty key
apache : http://10.20.0.205/morty/
apache : http://10.20.255.26/morty/
:install: apache site with a reverse proxy (ProxyPass)
:remove: apache site morty.conf
nginx (http://10.20.0.205/morty/)
nginx (http://10.20.255.26/morty/)
:install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site morty.conf
If needed, set the environment variables in the &#39;.config.sh&#39; file::
PUBLIC_URL_MORTY: http://10.20.0.205/morty/
PUBLIC_URL_MORTY: http://10.20.255.26/morty/
MORTY_LISTEN: 127.0.0.1:3000
SERVICE_USER: morty
To activate result and image proxy in searx, edit settings.yml (read:
https://searx.github.io/searx/admin/morty.html)::
result_proxy:
url : http://10.20.0.205/morty/
url : http://10.20.255.26/morty/
server:
image_proxy : True
</pre></div>

View File

@ -114,8 +114,8 @@ apache
searx settings: /etc/searx/settings.yml
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://10.20.0.205/searx
SEARX_INSTANCE_NAME : searx@10.20.0.205
PUBLIC_URL : http://10.20.255.26/searx
SEARX_INSTANCE_NAME : searx@10.20.255.26
SERVICE_USER : searx
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
</pre></div>