mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
89e7c15ea5
commit
e45da447da
@ -11,6 +11,8 @@ Here, we will show you how to integrate the |app| content server into another se
|
|||||||
:depth: 2
|
:depth: 2
|
||||||
:local:
|
:local:
|
||||||
|
|
||||||
|
.. note:: This only applies to calibre releases >= 0.7.25
|
||||||
|
|
||||||
Using a reverse proxy
|
Using a reverse proxy
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
@ -40,6 +42,8 @@ Using WSGI
|
|||||||
|
|
||||||
The calibre content server can be run directly, in process, inside a host server like Apache using the WSGI framework.
|
The calibre content server can be run directly, in process, inside a host server like Apache using the WSGI framework.
|
||||||
|
|
||||||
|
.. note:: For this to work, all the dependencies needed by calibre must be installed on your system. On linux, this can be achieved fairly easily by installing the distribution provided calibre package (provided it is up to date).
|
||||||
|
|
||||||
First, we have to create a WSGI *adapter* for the calibre content server. Here is a template you can use for the purpose. Replace the paths as directed in the comments
|
First, we have to create a WSGI *adapter* for the calibre content server. Here is a template you can use for the purpose. Replace the paths as directed in the comments
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
Loading…
x
Reference in New Issue
Block a user