mirror of
https://github.com/searxng/searxng.git
synced 2024-12-19 15:56:28 +00:00
bfef2c3b65
The $DOCS_BUILD variable (like all BUILD variables) in the lxc environment:: sudo -H ./utils/lxc.sh cmd searx-archlinux make docs is different from running build process in the HOST:: make docs with kernel-include directive we can use the environment variables in the reST documents to address the correct file location of the include. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1.9 KiB
1.9 KiB
utils/morty.sh
further reading
architecture
installation
(nginx <installation nginx>
&apache <installation apache>
)searx morty
To simplify installation and maintenance of a morty instance you can use the script utils/morty.sh
. In most cases you will install morty simply by running the command:
sudo -H ./utils/morty.sh install all
The script adds a ${SERVICE_USER}
(default:morty
) and installs morty into this user account:
- Create a separated user account (
morty
). - Download and install Go binary in user's $HOME (
~morty
). - Install morty with the package management from Go (
go get -v -u github.com/asciimoo/morty
) - Setup a systemd service unit
[ref] <utils/templates/lib/systemd/system/morty.service>
(/lib/systemd/system/morty.service
).
Hint
To add morty to your searx instance read chapter searx morty
.
Create user
$DOCS_BUILD/includes/morty.rst
Install go
$DOCS_BUILD/includes/morty.rst
Install morty
Install morty software and systemd unit:
$DOCS_BUILD/includes/morty.rst
$DOCS_BUILD/includes/morty.rst
Overview
The --help
output of the script is largely self-explanatory (toolboxing common
):
../utils/morty.sh --help