mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Working towards the overhaul of the collections system.
This commit is contained in:
20
wiki/Program Flow.wiki
vendored
Normal file
20
wiki/Program Flow.wiki
vendored
Normal 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
|
||||
Reference in New Issue
Block a user