• Ivan Smirnov's avatar
    Read dbpath from $CALIBRE_DBPATH if present · 2c173f98
    Ivan Smirnov authored
    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)
    2c173f98
Name
Last commit
Last update
..
static Loading commit data...
templates Loading commit data...
translations Loading commit data...
__init__.py Loading commit data...
book_formats.py Loading commit data...
db.py Loading commit data...
epub.py Loading commit data...
fb2.py Loading commit data...
gdriveutils.py Loading commit data...
helper.py Loading commit data...
ub.py Loading commit data...
uploader.py Loading commit data...
web.py Loading commit data...