Revision 26ce6d8c97441ea348f582e061d4aa5e9c9ac295 authored by Nicolas Dandrimont on 08 February 2016, 14:31:10 UTC, committed by Nicolas Dandrimont on 08 February 2016, 14:37:56 UTC
1 parent 2e29497
README.dev
# A test server should be running for tests
Sample configuration (e.g. ~/.config/swh/storage.ini):
[main]
db=dbname=softwareheritage-dev
storage_base=/tmp/swh/storage/
Note: `storage_base` entry referenced should exist.
# Start
local only:
python3 -m swh.storage.api.server ~/.config/swh/storage.ini
local only but accessible from other machine:
python3 -m swh.storage.api.server ~/.config/swh/storage.ini 0.0.0.0
Computing file changes ...