Skip to content

printprobability/ingest-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ingest-book

Pre-requisite

Make sure you have poetry installed -

curl -sSL https://install.python-poetry.org | python3 -

Step 1. Prepare environment

source init_env.sh

Verif that you are using the right Python version (3.9.12) and your conda env is created by the name of env -

conda info

Step 2. Run ingest script

./ingest_book.sh --book_string <book-string-value> --printer <optional-printer-full-name> --uuid <optional-existing-uuid>

Additionally, if you know that the book already exists and that you want to update the existing run for the book, you can add a -u or --update option -

./ingest_book.sh --update --book_string <book-string-value> --printer <optional-printer-full-name> --uuid <optional-existing-uuid>

or

./ingest_book.sh -u --book_string <book-string-value> --printer <optional-printer-full-name> --uuid <optional-existing-uuid>

If the -u or --update option is not specified, we always assume that this is a new run - both in the case of a new book creation and in the case where there is an existing book.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published