Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 945 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 945 Bytes

perma-mirror

Tests

This program watches an SQS queue and downloads newly-created S3 objects. It is intended to mirror WARCs created by perma.cc.

Usage

For regular use, start a virtual environment using Python 3.11 and install this package and its requirements, something like this:

python3 -m venv env
source env/bin/activate
pip install git+https://github.com/harvard-lil/perma-mirror#egg=perma-mirror

Now you can run

poll-for-warcs --help

For development, install Poetry, run source $HOME/.poetry/env, and clone this repository. Then, in the repo's directory, install the package and its requirements like this:

poetry install

Now you can run

poetry run poll-for-warcs --help