Revision de6f4ed87992397813a95f3c977cd92e6257ec0e authored by Nicolas Dandrimont on 03 November 2015, 15:40:59 UTC, committed by Nicolas Dandrimont on 03 November 2015, 15:40:59 UTC
2 parent s 3a95591 + c779ebd
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