Revision 0c604ad881b2bf9167bd3e1f5bcd4e8504ddd44f authored by Nicolas Dandrimont on 28 October 2015, 11:38:32 UTC, committed by Nicolas Dandrimont on 28 October 2015, 16:22:47 UTC
1 parent 9b6e88d
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