docs: Update listers execution instructions

Remove outdated part about listers database and use swh CLI in
README for executing a lister instead of raw Python code.
This commit is contained in:
Antoine Lambert 2021-02-05 12:35:37 +01:00
parent 1803b707e4
commit e72c15e97a
2 changed files with 23 additions and 176 deletions

View file

@ -80,8 +80,8 @@ After the execution of lister is complete, you can see the loading task created:
~/swh-environment/swh-lister$ swh scheduler task list
You can also check the repositories listed by the lister from the database in
which the lister output is stored. To connect to the database::
You can also check the repositories listed by the lister from the scheduler database
in which the lister output is stored. To connect to the database::
~/swh-environment/swh-docker-dev$ docker-compose exec swh-lister bash -c \
'psql swh-listers'
~/swh-environment/docker$ docker-compose exec swh-scheduler bash -c \
'psql swh-scheduler -c "select url from listed_origins"'