Enable calibre-web to start at boot, and start it now so you can continue with setup then begin using it.Īt this point installation is done and you can now access it, however there is a rather important configuration step left before you can actually use it.
Make the rc file able to execute by adding the execute bit.
For security purposes instead of using the nobody user or the www user, lets make a separate user that is designated for only running Calibre-web and only able to access its own files.
Pip install -target vendor -r requirements.txt
Change directory into the new calibre-web directory.
Clone the calibre-web repo into /usr/local/share/, this will create a directory named calibre-web in that directory.
Ln -sf /usr/local/bin/pip3.7 /usr/local/bin/pip
Create a link so you do not need to remember to type pip3 instead of pip.
It perhaps may not be the most secure project around, but why not host all the things on OpenBSD anyway? Calibre-web is a simple Python project and uses a self contained web server even. I go over how to setup a Calibre-web server on OpenBSD.