Skip to contents

Validate environment variables required by Artalytics services. Each deployment environment (dev, prod, site) sets these variables directly - no config switching needed. See the Environment Variables section in README.md for the complete list.

Usage

check_env_api()

check_env_dba()

check_env_app()

check_env_cdn()

Functions

  • check_env_api(): Validate API auth env vars for OpenAI, OpenSea, and Resend

  • check_env_dba(): Validate database connection env vars

  • check_env_app(): Validate application mode flag (demo vs user)

  • check_env_cdn(): Validate CDN access keys (e.g., Spaces/S3 compatible)

Examples

if (FALSE) { # \dontrun{
check_env_api()
check_env_dba()
check_env_app()
check_env_cdn()
} # }