Working towards the overhaul of the collections system.

This commit is contained in:
th3r00t
2023-03-20 20:42:20 -04:00
parent 3e89273cbc
commit 4ec85dfd82
11 changed files with 149 additions and 52 deletions

20
wiki/Program Flow.wiki vendored Normal file
View File

@@ -0,0 +1,20 @@
= PyShelf's Program Flow Chart =
== Entry Point ==
{{{bash
> ./pyShelf.py
}}}
=== pyShelf.py ===
- from src.backend.pyShelf_ScanLibrary import execute_scan
- from src.backend.pyShelf_MakeCollections import MakeCollections
- config = Config()
- PRG_PATH
- Storage(config).create_tables()
- Thread(run_import)
- FastAPIServer(config)
==== run_import() ====
:bookimport:
- execute_scan(PRG_PATH, config) *Book DB Insertion Point*
- MakeCollections(PRG_PATH, config) *Collection DB Insertion Point*
* [ ] TODO Move collections insertion to run in tandem with book insertion as this is the last time we have all of the information in one place. #a34ad104