Revision 252e49b158145f0064dbea03d3fab053bb594387 authored by Quentin Campos on 16 June 2016, 09:35:19 UTC, committed by Quentin Campos on 16 June 2016, 10:51:47 UTC
1 parent 8c6e8d7
Raw File
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
back to top