Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.11 KB

thoth-dissemination

Dissemination of work metadata and files from Thoth to distribution/archiving platforms.

Usage

Config

git clone https://github.com/thoth-pub/thoth-dissemination.git
cd thoth-dissemination
cp config.env.template config.env

Fill out config.env with credentials for desired platforms.

Run with Python

pip3 install -r ./requirements.txt
./disseminator.py --work ${work} --platform ${platform}

Run with Docker (locally)

docker build . -t ${imagename} # Dockerfile handles Python package requirements
docker run --rm ${imagename} ./disseminator.py --work ${work_id} --platform ${platform}

Run with Docker (from Dockerhub)

docker run --rm --env-file config.env openbookpublishers/thoth-dissemination:latest ./disseminator.py --work ${work_id} --platform ${platform}

Options

--work = Thoth ID of work to be disseminated

--platform = Destination distribution/archiving platform (one of InternetArchive, OAPEN, ScienceOpen, CUL, Crossref, Figshare, Zenodo, ProjectMUSE, JSTOR, EBSCOHost, ProQuest)

See also --help.