Usage#

Run a local server#

  1. Install the package and uvicorn or another ASGI server:

    pip install dsss uvicorn
    
  2. Indicate the directory containing stored structures and data:

    export DSSS_STORE=/path/to/store
    

    This directory should be laid out as a StructuredFileStore.

  3. Run:

    uvicorn --factory dsss:build_app
    

    The output will include a line like:

  4. Open a browser or use curl on the terminal to query this server:

    curl -i http://127.0.0.1:5000/codelist/AGENCY/CL_FOO/latest/all?detail=full
    

Deploy to Google App Engine#

Not currently supported.