Sync bot to push ACMI API Wikidata links to Wikidata.
- Install a virtual environment:
virtualenv venv -p 3.9
- Activate that environment:
source venv/bin/activate
- Install the Python dependencies:
pip install -r requirements.txt
- Copy the login JSON template and fill in your details:
cp bot_login.tmpl.json bot_login.json
- Run the sync:
./run.sh
- Run the code linting:
./lint.sh
To keep track of exceptions when running the sync, add your Sentry DSN to bot_login.json
under sentry
.
ACMI exceptions are sent to: https://acmi.sentry.io/projects/wikidata-bot