Add tag installs
This commit is contained in:
parent
cb1666884b
commit
d7e04282dd
@ -603,6 +603,16 @@ $ git clone https://github.com/janeczku/calibre-web /var/www/calibre-web
|
|||||||
$ cd /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:
|
We then need to install the Python dependencies with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -611,6 +621,7 @@ $ .venv/bin/pip install -r requirements.txt
|
|||||||
```
|
```
|
||||||
|
|
||||||
And finally configure the service to be run by Systemd.
|
And finally configure the service to be run by Systemd.
|
||||||
|
|
||||||
Create the file `/etc/systemd/system/cps.service` and add these lines to it:
|
Create the file `/etc/systemd/system/cps.service` and add these lines to it:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -638,6 +649,8 @@ We should also ensure that the correct ownership permissions are configured:
|
|||||||
$ chown -R www-data: /var/www/calibre-web
|
$ chown -R www-data: /var/www/calibre-web
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[Calibre-web release page]: https://github.com/janeczku/calibre-web/releases
|
||||||
|
|
||||||
### Setup a new MOTD
|
### Setup a new MOTD
|
||||||
|
|
||||||
When you SSH into the Raspberry Pi, you can enable a nice welcome message.
|
When you SSH into the Raspberry Pi, you can enable a nice welcome message.
|
||||||
|
Loading…
Reference in New Issue
Block a user