2c173f9848
This is an exploration in potentially enabling multiple libraries to run using the same engine. Since app config is all in the db, we should get no port conflicts and be able to run multiple instances of this app with no issues. Using os.getenv instead of os.environ.get allows us to provide CALIBRE_DBPATH inline with the invocation of the file (`CALIBRE_DBPATH=/foo/bar/` python cps.py) |
||
---|---|---|
.. | ||
static | ||
templates | ||
translations | ||
__init__.py | ||
book_formats.py | ||
db.py | ||
epub.py | ||
fb2.py | ||
gdriveutils.py | ||
helper.py | ||
ub.py | ||
uploader.py | ||
web.py |