swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: 274d78e7bd98086fb34c1c9f9b4ccf67f327363d authored by Antoine R. Dumont (@ardumont) on 13 January 2016, 11:46:44 UTC
New upstream version 0.0.26
Tip revision: 274d78e
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