diff --git a/docs/index.md b/docs/index.md index 554b908..125fef3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -603,6 +603,16 @@ $ git clone https://github.com/janeczku/calibre-web /var/www/calibre-web $ cd /var/www/calibre-web ``` +Then, looking at the [Calibre-web release page], we can choose a version we +would like to install. As of November 2020, the latest version is 0.6.9, so +we can check that version out with the following: + +```bash +$ git fetch origin master -a +$ git tag -l +$ git checkout 0.6.9 +``` + We then need to install the Python dependencies with: ```bash @@ -611,6 +621,7 @@ $ .venv/bin/pip install -r requirements.txt ``` And finally configure the service to be run by Systemd. + Create the file `/etc/systemd/system/cps.service` and add these lines to it: ```bash @@ -638,6 +649,8 @@ We should also ensure that the correct ownership permissions are configured: $ chown -R www-data: /var/www/calibre-web ``` +[Calibre-web release page]: https://github.com/janeczku/calibre-web/releases + ### Setup a new MOTD When you SSH into the Raspberry Pi, you can enable a nice welcome message.