mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
21 lines
655 B
Plaintext
Vendored
21 lines
655 B
Plaintext
Vendored
= 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
|