1
0
mirror of https://github.com/janeczku/calibre-web.git synced 2024-11-26 08:51:05 +02:00
calibre-web/cps
Ivan Smirnov 2c173f9848 Read dbpath from $CALIBRE_DBPATH if present
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)
2017-03-25 13:05:44 -07:00
..
static added jquery.form.js to project locally 2017-03-12 21:20:09 +00:00
templates Fix #138 2017-03-19 20:29:35 +01:00
translations Added Read/Unread to feed 2017-03-19 19:22:45 +01:00
__init__.py custom columns unfinished 2016-04-20 19:25:47 +02:00
book_formats.py Merge branch 'master' into fix/syntax-python3-20170305 2017-03-07 14:06:29 +08:00
db.py Merge remote-tracking branch 'gitignore/fix/syntax-python3-20170305' 2017-03-07 20:22:28 +01:00
epub.py fix conflict 2017-03-08 23:56:20 +08:00
fb2.py Fix except clause 2017-03-06 11:44:54 +08:00
gdriveutils.py Fixes for gevent/gdrive 2017-03-19 17:14:16 +01:00
helper.py Gdrive optional 2017-03-16 23:36:37 +00:00
ub.py Read dbpath from $CALIBRE_DBPATH if present 2017-03-25 13:05:44 -07:00
uploader.py Reuse original code logic. 2017-03-04 15:37:30 +08:00
web.py Fix #138 2017-03-19 20:29:35 +01:00