env
This module reads the environment variables from the .env file and sets them as global variables.
The following environment variables are required:
TPM_URL
: The URL of the Typed PID-Maker instance. See Typed PID Maker on GitHubTERMINOLOGY_URL
: The base URL of the terminology service. e.g. https://api.terminology.tib.euCHEMOTION_BASE_URL
: The base URL of the Chemotion repository instance. e.g. https://chemotion-repository.netNMRXIV_BASE_URL
: The base URL of the NMRXIV repository instance. e.g. https://nmrxiv.orgELASTICSEARCH_URL
: The base URL of the Elasticsearch API endpoint. e.g. https://elasticsearch.example.com:9200ELASTICSEARCH_INDEX
: The name of the Elasticsearch index to use.ELASTICSEARCH_APIKEY
: The API key to use for the Elasticsearch API.CACHE_DIR
: The directory to use for caching API results. This is necessary because of missing bulk API support in Chemotion and NMRXiv repositories. e.g. tmp/cache