Skip to content

Add scripts/check-env.sh for pre-flight env var validation #2

Description

@weselben

Add a small scripts/check-env.sh that verifies the required env vars (from .env.example) are set before starting the dev server, with clear error messages for each missing var.

Requirements:

  • bash, no external dependencies
  • read .env.example, extract var names, check each is set in the environment
  • exit 1 with a helpful message per missing var, exit 0 if all are set
  • keep it simple — this is a pre-flight check, not a validator

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions