Revision 6b8aea69afe51fcc5e90484c1e408cd98695026e authored by Nicolas Dandrimont on 19 October 2015, 10:29:15 UTC, committed by Nicolas Dandrimont on 19 October 2015, 10:30:36 UTC
1 parent 173cc1e
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