summaryrefslogtreecommitdiff
path: root/docs/build-templates
diff options
context:
space:
mode:
Diffstat (limited to 'docs/build-templates')
-rw-r--r--docs/build-templates/filtron.rst9
-rw-r--r--docs/build-templates/morty.rst9
-rw-r--r--docs/build-templates/searx.rst14
3 files changed, 17 insertions, 15 deletions
diff --git a/docs/build-templates/filtron.rst b/docs/build-templates/filtron.rst
index 79b254399..6a39d1f58 100644
--- a/docs/build-templates/filtron.rst
+++ b/docs/build-templates/filtron.rst
@@ -19,7 +19,8 @@
.. tabs::
- .. group-tab:: bash
+ .. group-tab:: os: linux / arch: amd64
+
.. code-block:: bash
@@ -30,9 +31,9 @@
$ sudo -i -u \"${SERVICE_USER}\"
(${SERVICE_USER}) $ echo 'source $GO_ENV' >> ~/.profile
(${SERVICE_USER}) $ mkdir ${SERVICE_HOME}/local
- (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_TAR}\" \\
- \"${GO_PKG_URL}\"
- (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_TAR}\"
+ (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_VERSION}.linux-amd64.tar.gz\" \\
+ \"${GO_DL_URL}/${GO_VERSION}.linux-amd64.tar.gz\"
+ (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_VERSION}.linux-amd64.tar.gz\"
(${SERVICE_USER}) $ which go
${SERVICE_HOME}/local/go/bin/go
diff --git a/docs/build-templates/morty.rst b/docs/build-templates/morty.rst
index 2be24da55..b03a54f96 100644
--- a/docs/build-templates/morty.rst
+++ b/docs/build-templates/morty.rst
@@ -19,7 +19,8 @@
.. tabs::
- .. group-tab:: bash
+ .. group-tab:: os: linux / arch: amd64
+
.. code-block:: bash
@@ -30,9 +31,9 @@
$ sudo -i -u \"${SERVICE_USER}\"
(${SERVICE_USER}) $ echo 'source $GO_ENV' >> ~/.profile
(${SERVICE_USER}) $ mkdir ${SERVICE_HOME}/local
- (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_TAR}\" \\
- \"${GO_PKG_URL}\"
- (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_TAR}\"
+ (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_VERSION}.linux-amd64.tar.gz\" \\
+ \"${GO_DL_URL}/${GO_VERSION}.linux-amd64.tar.gz\"
+ (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_VERSION}.linux-amd64.tar.gz\"
(${SERVICE_USER}) $ which go
${SERVICE_HOME}/local/go/bin/go
diff --git a/docs/build-templates/searx.rst b/docs/build-templates/searx.rst
index bea7fa5e0..626cce6bd 100644
--- a/docs/build-templates/searx.rst
+++ b/docs/build-templates/searx.rst
@@ -72,7 +72,7 @@ ${fedora_build}
.. END create user
-.. START clone searx
+.. START clone searxng
.. tabs::
@@ -83,7 +83,7 @@ ${fedora_build}
$ sudo -H -u ${SERVICE_USER} -i
(${SERVICE_USER})$ git clone \"$GIT_URL\" \"$SEARX_SRC\"
-.. END clone searx
+.. END clone searxng
.. START create virtualenv
@@ -118,14 +118,14 @@ ${fedora_build}
pip install -U wheel
pip install -U pyyaml
- # jump to searx's working tree and install SearXNG into virtualenv
+ # jump to SearXNG's working tree and install SearXNG into virtualenv
(${SERVICE_USER})$ cd \"$SEARX_SRC\"
(${SERVICE_USER})$ pip install -e .
.. END manage.sh update_packages
-.. START searx config
+.. START searxng config
.. tabs::
@@ -153,9 +153,9 @@ ${fedora_build}
$ sudo -H sed -i -e \"s/ultrasecretkey/\$(openssl rand -hex 16)/g\" \"$SEARXNG_SETTINGS_PATH\"
-.. END searx config
+.. END searxng config
-.. START check searx installation
+.. START check searxng installation
.. tabs::
@@ -206,4 +206,4 @@ container or in a script, test with curl:
HTTP/1.0 200 OK
...
-.. END check searx installation
+.. END check searxng installation