aboutsummaryrefslogtreecommitdiff
path: root/doc/administration/upgrading.rst
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2024-04-05 22:34:08 +0200
committerDaniel Schadt <kingdread@gmx.de>2024-04-05 22:34:45 +0200
commit4f96b9c3f39213a5f6ae631c7c820f63fc2219d5 (patch)
tree002a30ecabab225d77e3df0e89fdb3584a04cc6b /doc/administration/upgrading.rst
parent6ee21f6c078891e4453415cbebd6b7d591185c5f (diff)
downloadfietsboek-4f96b9c3f39213a5f6ae631c7c820f63fc2219d5.tar.gz
fietsboek-4f96b9c3f39213a5f6ae631c7c820f63fc2219d5.tar.bz2
fietsboek-4f96b9c3f39213a5f6ae631c7c820f63fc2219d5.zip
documentation improvements
Diffstat (limited to 'doc/administration/upgrading.rst')
-rw-r--r--doc/administration/upgrading.rst15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/administration/upgrading.rst b/doc/administration/upgrading.rst
index 2b69e4c..c5e899d 100644
--- a/doc/administration/upgrading.rst
+++ b/doc/administration/upgrading.rst
@@ -44,10 +44,17 @@ new additional dependencies:
.. code:: bash
- .venv/bin/pip install .
+ .venv/bin/pip install path/to/fietsboek/source
-This step is similar to the command that you used when installing Fietsboek
-initially.
+If you downloaded Fietsboek from PyPI, you may need to tell ``pip`` explicitely
+to upgrade. Otherwise it will simply say that the package is already installed:
+
+.. code:: bash
+
+ .venv/bin/pip install --upgrade fietsboek
+
+In general, this step is similar to the command that you used when installing
+Fietsboek initially.
Note that removed dependencies are not automatically removed. It might be worth
to start with a clean virtual environment from time to time to clear out old
@@ -120,7 +127,7 @@ Restoring Data: Downgrading
If you do not have old backups of your data, you can use ``fietsupdate`` to
convert your data from the new format to the old one. Please note that the
upgrade process can not always be undone: If an update deletes data, even the
-downgrade cannot fix it. In such cases, the only way to restore the data is
+downgrade cannot undo it. In such cases, the only way to restore the data is
through a backup.
To use ``fietsupdate`` to downgrade your data, run the following command,