Revision de231367d2b9412959a267e92ecce241ddbcf239 authored by Nicolas Dandrimont on 27 January 2016, 16:51:52 UTC, committed by Nicolas Dandrimont on 27 January 2016, 16:53:18 UTC
1 parent 92114e9
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