Moved main program files

This commit is contained in:
Mike
2019-11-09 23:24:07 -05:00
parent 54b625973f
commit 8cf42db09f
14 changed files with 655 additions and 0 deletions

13
app/config.py Executable file
View File

@@ -0,0 +1,13 @@
class Config:
"""Main System Configuration"""
def __init__(self):
self.book_path = "books/"
self.TITLE = "pyShelf E-Book Server"
self.book_shelf = "data/shelf.json"
# self.catalogue_db = "data/catalogue.db"
self.catalogue_db = "../frontend/db.sqlite3"
self.file_array = [
self.book_shelf,
self.catalogue_db,
]
self.auto_scan = True