summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-05-26 09:45:09 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-05-26 21:17:19 +0200
commit85364edaf077de42b24cc5e16507181208780c5e (patch)
treecae666eba2ea37f2ec551bb69f0da6264df73374 /docs
parent7c76cef746a90542f7db7a9ca876e763d0aad1a3 (diff)
downloadsearxng-85364edaf077de42b24cc5e16507181208780c5e.tar.gz
searxng-85364edaf077de42b24cc5e16507181208780c5e.zip
[fix] webapp.py - running without installation is not supported
Remove extension of the sys.path (aka PYTHONPATH). Running instance directly from repository's folder is a relict from the early beginning in 2014 (fd651083f) and is no longer supported. Since commit dd46629 was merged the command line 'searx-run' exists and should be used. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
-rw-r--r--docs/blog/python3.rst15
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/blog/python3.rst b/docs/blog/python3.rst
index 7e770c193..62d7052fc 100644
--- a/docs/blog/python3.rst
+++ b/docs/blog/python3.rst
@@ -25,19 +25,16 @@ How to run searx using Python 3
Please make sure that you run at least Python 3.5.
To run searx, first a Python3 virtualenv should be created. After entering the
-virtualenv, dependencies must be installed. Then run searx with python3 instead
-of the usual python command.
+virtualenv, dependencies and searx must be installed. Then run searx from the
+command line.
.. code:: sh
- virtualenv -p python3 venv3
+ python3 -m venv venv3
source venv3/bin/activate
- pip3 install -r requirements.txt
- python3 searx/webapp.py
-
-
-If you want to run searx using Python2.7, you don't have to do anything
-differently as before.
+ pip install -U pip setuptools wheel pyyaml
+ pip install -e .
+ searx-run
Fun facts
=========