Usage
Ingest file can be used stand-alone or in the context of OpenAleph
Info
This guide assumes a proper setup
Depending on setup, the commands have to be run with or without the docker container. When using docker, make sure to mount the volumes needed and attach to a running postgres container if needed.
docker
docker run -it ghcr.io/openaleph/ingest-file ingestors ...
locally
ingestors ...
Directory or File Ingestion
Store files in archive and dispatch tasks. This accepts as well a single file as path argument.
Start worker(s)
One-shot ingestion
Instead of having long-running workers, run the worker in sync mode. It will stop after all tasks are processed:
debug mode
This will run the worker in-memory, so no additional worker command needed: