Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 4.38 KB

ENV.md

File metadata and controls

18 lines (16 loc) · 4.38 KB

This page provides a full list, with description, of all the environment variables used by the application.

Please ensure these are properly defined in a .env file in the root directory.

Name Description Example
LABEL_STUDIO_ACCESS_TOKEN The access token for the Label Studio API. The access token for the Label Studio API. This can be obtained by logging into Label Studio and navigating to the user account section, where the access token can be copied. abc123
LABEL_STUDIO_PROJECT_ID The project ID for the Label Studio API. This can be obtained by logging into Label Studio and navigating to the relevant project, where the project id will be in the URL, as in https://app.heartex.com/projects/58475/ 58475
LABEL_STUDIO_ORGANIZATION_ID The organization ID for the Label Studio API. This can be obtained by logging into Label Studio and navigating to the Organization section, where the organization ID can be copied. 6758
GOOGLE_API_KEY The API key required for accessing the Google Custom Search API abc123
GOOGLE_CSE_ID The CSE ID required for accessing the Google Custom Search API abc123
POSTGRES_USER The username for the test database test_source_collector_user
POSTGRES_PASSWORD The password for the test database HanviliciousHamiltonHilltops
POSTGRES_DB The database name for the test database source_collector_test_db
POSTGRES_HOST The host for the test database 127.0.0.1
POSTGRES_PORT The port for the test database 5432
DS_APP_SECRET_KEY The secret key used for decoding JWT tokens produced by the Data Sources App. Must match the secret token that is used in the Data Sources App for encoding. abc123
DEV Set to any value to run the application in development mode. true