Skip to content

Add support for customizing environment variables using python-dotenv #1

@dwhan89

Description

@dwhan89

Description:
Currently, there is no streamlined way to manage environment variables (such as OpenAI API key) within the project. To improve configuration management and user experience, it is probably worthwhile integrating python-dotenv (or something like that) for handling environment variables


Proposal

  1. Add python-dotenv as a dependency in the project.
  2. Create an editable .env.template file in the root directory.
  3. Add an instruction on how to customize the .env.template file in the README.
  4. Update the codebase to load environment variables from the .env file either automatically or manually.
  5. Edit the .gitignore file to prevent users from committing the .env file to the remote repository.

Goals

  • Simplifies configuration management.
  • Improves workflows by enabling end-users to manage environment-specific variables easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions