Revision 5d888afb3d69072403c70162ebf7714369d5415b authored by Antoine R. Dumont (@ardumont) on 17 November 2015, 14:36:04 UTC, committed by Antoine R. Dumont (@ardumont) on 17 November 2015, 14:36:04 UTC
1 parent 09102e8
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