diff --git a/README.dev b/README.dev --- a/README.dev +++ b/README.dev @@ -47,7 +47,7 @@ python3 -m swh.storage.api.server ~/.config/swh/storage.yml ``` -This runs a local swh-storage api at 5000 port. +This runs a local swh-storage api at 5002 port. # And then what? @@ -59,7 +59,7 @@ storage: cls: remote args: - url: http://localhost:5000/ + url: http://localhost:5002/ ``` You could directly define a local storage with the following snippet: diff --git a/swh/storage/api/server.py b/swh/storage/api/server.py --- a/swh/storage/api/server.py +++ b/swh/storage/api/server.py @@ -396,7 +396,7 @@ @click.command() @click.argument('config-path', required=1) @click.option('--host', default='0.0.0.0', help="Host to run the server") -@click.option('--port', default=5000, type=click.INT, +@click.option('--port', default=5002, type=click.INT, help="Binding port of the server") @click.option('--debug/--nodebug', default=True, help="Indicates if the server should run in debug mode") diff --git a/swh/storage/provenance/tasks.py b/swh/storage/provenance/tasks.py --- a/swh/storage/provenance/tasks.py +++ b/swh/storage/provenance/tasks.py @@ -16,7 +16,7 @@ 'storage': ('dict', { 'cls': 'remote', 'args': { - 'url': 'http://localhost:5000/' + 'url': 'http://localhost:5002/' }, }), 'revision_packet_size': ('int', 100), diff --git a/swh/storage/vault/api/server.py b/swh/storage/vault/api/server.py --- a/swh/storage/vault/api/server.py +++ b/swh/storage/vault/api/server.py @@ -91,7 +91,7 @@ @click.command() @click.argument('config-path', required=1) @click.option('--host', default='0.0.0.0', help="Host to run the server") -@click.option('--port', default=5000, type=click.INT, +@click.option('--port', default=5005, type=click.INT, help="Binding port of the server") @click.option('--debug/--nodebug', default=True, help="Indicates if the server should run in debug mode")