aboutsummaryrefslogtreecommitdiff
path: root/doc/administration
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-04-20 21:43:07 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-04-20 21:43:46 +0200
commit13f84e7e678e2b5cf6711b550a88d84474118fab (patch)
treeba2f01cc3cbb85ed0b1124f22f7bf2a98e3a1e43 /doc/administration
parent61695dde71973a178e92f2a25cab9082f7e2fc7b (diff)
downloadfietsboek-13f84e7e678e2b5cf6711b550a88d84474118fab.tar.gz
fietsboek-13f84e7e678e2b5cf6711b550a88d84474118fab.tar.bz2
fietsboek-13f84e7e678e2b5cf6711b550a88d84474118fab.zip
update installation docs
Diffstat (limited to 'doc/administration')
-rw-r--r--doc/administration/installation.rst21
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/administration/installation.rst b/doc/administration/installation.rst
index 1b5d620..53734b5 100644
--- a/doc/administration/installation.rst
+++ b/doc/administration/installation.rst
@@ -9,12 +9,24 @@ Requirements
Fietsboek has the following requirements (apart from the Python modules, which
will be installed by ``pip``):
-* Python 3.7 or later
+* Python 3.9 or later
* A `redis <https://redis.com/>`__ server, used for caching and temporary data
* (Optionally) an SQL database server like `PostgreSQL
<https://www.postgresql.org/>`__ or `MariaDB <https://mariadb.org/>`__ (if
SQLite is not enough)
+In addition, if you run on a different interpreter than CPython, you might need
+a working Rust toolchain (``rustc`` and ``cargo``) installed. This is because
+some of Fietsboek's dependencies (such as ``pydantic`` and ``nh3``) use Rust
+modules. If they don't provide a binary wheel for your interpreter, they will
+automatically build one during the installation process — but that requires the
+Rust toolchain.
+
+To install Rust, check out your distributions wiki/packages, or use the `rustup
+tool`_.
+
+.. _rustup tool: https://rustup.rs/
+
Creating an Environment
-----------------------
@@ -54,6 +66,13 @@ process the GPX files:
.venv/bin/pip install lxml
+.. note::
+
+ It is currently unclear whether ``lxml`` does provide a speed benefit over
+ the alternative, especially when running on PyPy. See also `issue #7`_.
+
+ .. _issue #7: https://gitlab.com/dunj3/fietsboek/-/issues/7
+
Configuring Fietsboek
---------------------