README.md: Simplify the readme to use the default configuration
Related T1138
This commit is contained in:
parent
91f05745ac
commit
f7eb3e529e
1 changed files with 6 additions and 8 deletions
14
README.md
14
README.md
|
@ -55,16 +55,16 @@ Local deployment
|
|||
|
||||
### Configuration file sample
|
||||
|
||||
Minimalistic configuration:
|
||||
|
||||
$ cat ~/.config/swh/lister-github.com.yml
|
||||
# see http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
|
||||
lister_db_url: postgres:///lister-github
|
||||
credentials: []
|
||||
cache_responses: True
|
||||
cache_dir: /home/zack/.cache/swh/lister/github.com
|
||||
storage:
|
||||
cls: remote
|
||||
args:
|
||||
url: http://localhost:5002/
|
||||
|
||||
Note: This expects storage (5002) and scheduler (5008) services to run locally
|
||||
|
||||
### Run
|
||||
|
||||
|
@ -101,10 +101,8 @@ Local deployment
|
|||
credentials: []
|
||||
cache_responses: True
|
||||
cache_dir: /home/zack/.cache/swh/lister/gitlab
|
||||
storage:
|
||||
cls: remote
|
||||
args:
|
||||
url: http://localhost:5002/
|
||||
|
||||
Note: This expects storage (5002) and scheduler (5008) services to run locally
|
||||
|
||||
### Run
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue