Updated README.md for listers

This commit is contained in:
Archit Agrawal 2019-03-19 15:57:29 +05:30
parent 2a588d2d5a
commit 5acb1fefc1

View file

@ -51,9 +51,7 @@ Local deployment
4. Bootstrap the db instance schema
$ createdb lister-github
$ python3 -m swh.lister.cli --db-url postgres:///lister-github \
--lister github \
--create-tables
$ python3 -m swh.lister.cli --db-url postgres:///lister-github github
### Configuration file sample
@ -91,9 +89,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
4. Bootstrap the db instance schema
$ createdb lister-gitlab
$ python3 -m swh.lister.cli --db-url postgres:///lister-gitlab \
--lister gitlab \
--create-tables
$ python3 -m swh.lister.cli --db-url postgres:///lister-gitlab gitlab
### Configuration file sample
@ -130,10 +126,8 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
4. Bootstrap the db instance schema
$ createdb lister-debian
$ python3 -m swh.lister.cli --db-url postgres:///lister-debian \
--lister debian \
--create-tables \
--with-data
$ python3 -m swh.lister.cli --db-url postgres:///lister-debian debian
Note: This bootstraps a minimum data set needed for the debian
lister to run (for development)
@ -173,10 +167,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
4. Bootstrap the db instance schema
$ createdb lister-pypi
$ python3 -m swh.lister.cli --db-url postgres:///lister-pypi \
--lister pypi \
--create-tables \
--with-data
$ python3 -m swh.lister.cli --db-url postgres:///lister-pypi pypi
Note: This bootstraps a minimum data set needed for the pypi
lister to run (for development)