-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #329 from RDFLib/david/example-env-files-update-re…
…admes docs: add example .env files and
- Loading branch information
Showing
6 changed files
with
157 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
############################################ | ||
## SPARQL configuration (defaults) | ||
############################################ | ||
SPARQL_ENDPOINT="" | ||
SPARQL_USERNAME="" | ||
SPARQL_PASSWORD="" | ||
SPARQL_REPO_TYPE="remote" | ||
SPARQL_TIMEOUT="30" # in seconds | ||
ENABLE_SPARQL_ENDPOINT="false" | ||
|
||
############################################ | ||
## Basic server configuration (defaults) | ||
############################################ | ||
PROTOCOL="http" | ||
HOST="localhost" | ||
PORT="8000" | ||
SYSTEM_URI="http://localhost:8000" | ||
|
||
############################################ | ||
## RDF & data handling (defaults) | ||
############################################ | ||
CURIE_SEPARATOR=":" | ||
ORDER_LISTS_BY_LABEL="true" | ||
LISTING_COUNT_LIMIT="100" | ||
SEARCH_COUNT_LIMIT="10" | ||
DISABLE_PREFIX_GENERATION="false" | ||
DEFAULT_LANGUAGE="en" | ||
LOCAL_RDF_DIR="rdf" | ||
ENDPOINT_STRUCTURE='["catalogs","collections","items"]' | ||
|
||
############################################ | ||
## Predicate lists (defaults) | ||
## Expressed here as JSON for clarity | ||
############################################ | ||
LABEL_PREDICATES='[ | ||
"http://www.w3.org/2004/02/skos/core#prefLabel", | ||
"http://purl.org/dc/terms/title", | ||
"http://www.w3.org/2000/01/rdf-schema#label", | ||
"https://schema.org/name" | ||
]' | ||
DESCRIPTION_PREDICATES='[ | ||
"http://www.w3.org/2004/02/skos/core#definition", | ||
"http://purl.org/dc/terms/description", | ||
"https://schema.org/description" | ||
]' | ||
PROVENANCE_PREDICATES='[ | ||
"http://purl.org/dc/terms/provenance" | ||
]' | ||
SEARCH_PREDICATES='[ | ||
"http://www.w3.org/2000/01/rdf-schema#label", | ||
"http://www.w3.org/2004/02/skos/core#prefLabel", | ||
"http://www.w3.org/2004/02/skos/core#altLabel", | ||
"http://www.w3.org/2004/02/skos/core#hiddenLabel", | ||
"https://schema.org/name", | ||
"http://purl.org/dc/terms/title" | ||
]' | ||
OTHER_PREDICATES='[ | ||
"https://schema.org/color", | ||
"http://purl.org/linked-data/registry#status" | ||
]' | ||
|
||
############################################ | ||
## System endpoints (defaults) | ||
## For illustration; exact URIs can vary | ||
############################################ | ||
SYSTEM_ENDPOINTS='[ | ||
"http://example.org/endpoint/system/profile-listing", | ||
"http://example.org/endpoint/system/profile-object" | ||
]' | ||
|
||
############################################ | ||
## Logging (defaults) | ||
############################################ | ||
LOG_LEVEL="INFO" | ||
LOG_OUTPUT="stdout" | ||
|
||
############################################ | ||
## Prez metadata (defaults) | ||
############################################ | ||
PREZ_TITLE="Prez" | ||
PREZ_DESC="A web framework API for delivering Linked Data. It provides read-only access to Knowledge Graph data which can be subset according to information profiles." | ||
PREZ_VERSION="" | ||
PREZ_CONTACT="" | ||
|
||
############################################ | ||
## Feature flags (defaults) | ||
############################################ | ||
ENABLE_OGC_FEATURES="true" | ||
OGC_FEATURES_MOUNT_PATH="/catalogs/{catalogId}/collections/{recordsCollectionId}/features" | ||
CUSTOM_ENDPOINTS="false" | ||
CONFIGURATION_MODE="false" | ||
|
||
############################################ | ||
## Misc (defaults) | ||
############################################ | ||
TEMPORAL_PREDICATE="https://schema.org/temporal" | ||
PREZ_UI_URL="" | ||
SEARCH_METHOD="default" | ||
REQUIRED_HEADER="" | ||
PROXY_HEADERS="false" | ||
FORWARDED_ALLOW_IPS="127.0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SPARQL_ENDPOINT=http://my-sparql-endpoint | ||
## Alternatively | ||
SPARQL_REPO_TYPE=pyoxigraph | ||
LOCAL_RDF_DIR=/path/to/your/data |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters