mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
21 lines
559 B
Python
Executable File
21 lines
559 B
Python
Executable File
#!/usr/bin/python
|
|
import sys
|
|
|
|
from config import Config
|
|
from lib.library import Catalogue
|
|
from lib.pyShelf import InitFiles
|
|
from lib.pyShelf import BookServer
|
|
|
|
# sys.path.insert(1, 'lib/')
|
|
|
|
config = Config() # Get configuration settings
|
|
InitFiles(config.file_array) # Initialize file system
|
|
Catalogue = Catalogue() # Open the Catalogue
|
|
Server = BookServer()
|
|
# new_books = Catalogue.new_files()
|
|
Catalogue.import_books() # Filter Your books
|
|
Server.run()
|
|
# TODO Figure out a system to get books page count
|
|
# TODO Update Documentation
|
|
# TODO Requirements.txt
|