swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: 95ff2c83c738ec5fb920c5b5f8c37156665ea4db authored by Nicolas Dandrimont on 06 January 2016, 15:14:14 UTC
sql/upgrades/035: add 034→035 upgrade script
Tip revision: 95ff2c8
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