Revision 2b18a7acc70ff6482ac360b737000c05d1602731 authored by Antoine R. Dumont (@ardumont) on 20 September 2016, 10:35:10 UTC, committed by Antoine R. Dumont (@ardumont) on 20 September 2016, 14:31:23 UTC
If you want the archiver to have cloud abilities, install the package python3-swh.objstorage.cloud on the server as well.
1 parent f7665b3
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 ...