Skip to content

Hardcoded data, schema, and queries directory paths limit portability #7

@Miatya

Description

@Miatya

Problem

SalesTracker uses hardcoded paths for database, schema, and queries directories relative to the script location. This limits deployment flexibility (e.g., Docker, CI/CD, or alternative deployment structures), and environment variables are not considered.

Expected Behavior

Allow overriding these paths via environment variables or config file for better deployment portability.

Suggested Fix

  • Refactor to allow dynamic directory configuration through environment variables or config file options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions