Revision 2fd7f72f6fe5c0419bad86c718ed0705c18effd9 authored by Antoine R. Dumont (@ardumont) on 11 October 2016, 23:33:57 UTC, committed by Antoine R. Dumont (@ardumont) on 11 October 2016, 23:33:57 UTC
1 parent 30f7883
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 ...