Usage#
Run a local server#
Install the package and uvicorn or another ASGI server:
pip install dsss uvicorn
Indicate the directory containing stored structures and data:
export DSSS_STORE=/path/to/store
This directory should be laid out as a
StructuredFileStore.Run:
uvicorn --factory dsss:build_app
The output will include a line like:
Running on http://127.0.0.1:8000/ (Press CTRL+C to quit)
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.