Revision 32d04864dd41c8e2ae4443d09c930eb4ac0ef102 authored by Antoine R. Dumont (@ardumont) on 11 January 2016, 14:16:58 UTC, committed by Antoine R. Dumont (@ardumont) on 11 January 2016, 15:33:05 UTC
1 parent 027b0d5
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