inveniosoftware / invenio-vocabularies

Invenio module for managing vocabularies.
https://invenio-vocabularies.readthedocs.io
MIT License
2 stars 40 forks source link

Run the ROR funders update as a Celery task #333

Closed ptamarit closed 3 weeks ago

ptamarit commented 1 month ago

Depending on the following pending changes:

Then on an InvenioRDM instance, start InvenioRDM without celery:

invenio-cli run -n

On another terminal in the InvenioRDM instance, start celery:

invenio-cli shell
celery -A invenio_app.celery worker --loglevel=DEBUG -Q celery

And on another terminal, trigger the task:

invenio-cli shell
invenio shell

from invenio_vocabularies.services.tasks import import_funders
import_funders.delay()
ptamarit commented 3 weeks ago