summaryrefslogtreecommitdiff
path: root/docs/build-templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-08-06 16:39:00 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-08-06 19:37:12 +0200
commit64100db9045ec712afbd8fa1becee14f7109921c (patch)
treefc80dd5f2006c278abcc74c77c84c865579a9f10 /docs/build-templates
parent1d0abb7157a24fd2c43afe30a35527cba3d6967a (diff)
downloadsearxng-64100db9045ec712afbd8fa1becee14f7109921c.tar.gz
searxng-64100db9045ec712afbd8fa1becee14f7109921c.zip
[doc] improve documentation of make targets and ./manage script
BTW force modularization of the ./mange script into sub modules: - utils/lib_sxng_data.sh - utils/lib_sxng_node.sh - utils/lib_sxng_static.sh - utils/lib_sxng_test.sh - utils/lib_sxng_themes.sh Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/build-templates')
-rw-r--r--docs/build-templates/filtron.rst53
-rw-r--r--docs/build-templates/morty.rst53
2 files changed, 0 insertions, 106 deletions
diff --git a/docs/build-templates/filtron.rst b/docs/build-templates/filtron.rst
deleted file mode 100644
index a858f7ddd..000000000
--- a/docs/build-templates/filtron.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-.. START create user
-
-.. tabs::
-
- .. group-tab:: bash
-
- .. code-block:: sh
-
- $ sudo -H useradd --shell /bin/bash --system \\
- --home-dir \"$SERVICE_HOME\" \\
- --comment \"Privacy-respecting metasearch engine\" $SERVICE_USER
-
- $ sudo -H mkdir \"$SERVICE_HOME\"
- $ sudo -H chown -R \"$SERVICE_GROUP:$SERVICE_GROUP\" \"$SERVICE_HOME\"
-
-.. END create user
-
-.. START install go
-
-.. tabs::
-
- .. group-tab:: os: linux / arch: amd64
-
-
- .. code-block:: bash
-
- $ cat > \"$GO_ENV\" <<EOF
- export GOPATH=${SERVICE_HOME}/go-apps
- export PATH=\$PATH:${SERVICE_HOME}/local/go/bin:\$GOPATH/bin
- EOF
- $ 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_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
-
-.. END install go
-
-.. START install filtron
-
-.. tabs::
-
- .. group-tab:: bash
-
- .. code-block:: bash
-
- $ sudo -i -u \"${SERVICE_USER}\"
- (${SERVICE_USER}) $ go get -v -u github.com/searxng/filtron
-
-.. END install filtron
diff --git a/docs/build-templates/morty.rst b/docs/build-templates/morty.rst
deleted file mode 100644
index b03a54f96..000000000
--- a/docs/build-templates/morty.rst
+++ /dev/null
@@ -1,53 +0,0 @@
-.. START create user
-
-.. tabs::
-
- .. group-tab:: bash
-
- .. code-block:: sh
-
- $ sudo -H useradd --shell /bin/bash --system \\
- --home-dir \"$SERVICE_HOME\" \\
- --comment \"Privacy-respecting metasearch engine\" $SERVICE_USER
-
- $ sudo -H mkdir \"$SERVICE_HOME\"
- $ sudo -H chown -R \"$SERVICE_GROUP:$SERVICE_GROUP\" \"$SERVICE_HOME\"
-
-.. END create user
-
-.. START install go
-
-.. tabs::
-
- .. group-tab:: os: linux / arch: amd64
-
-
- .. code-block:: bash
-
- $ cat > \"$GO_ENV\" <<EOF
- export GOPATH=${SERVICE_HOME}/go-apps
- export PATH=\$PATH:${SERVICE_HOME}/local/go/bin:\$GOPATH/bin
- EOF
- $ 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_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
-
-.. END install go
-
-.. START install morty
-
-.. tabs::
-
- .. group-tab:: bash
-
- .. code-block:: bash
-
- $ sudo -i -u \"${SERVICE_USER}\"
- (${SERVICE_USER}) $ go get -v -u github.com/asciimoo/morty
-
-.. END install morty