Skip to content

Add support for loading environment variables from .env file#5

Open
entishl wants to merge 2 commits into
playcanvas:mainfrom
entishl:feature/dotenv-support
Open

Add support for loading environment variables from .env file#5
entishl wants to merge 2 commits into
playcanvas:mainfrom
entishl:feature/dotenv-support

Conversation

@entishl

@entishl entishl commented Nov 6, 2025

Copy link
Copy Markdown

Integrate the dotenv package to enable automatic loading of environment variables from a .env file, simplifying configuration management for sensitive information. Update the README to reflect this new setup option.

Adds the `dotenv` package to the project and integrates it into the CLI entry point. This allows the application to automatically load environment variables from a `.env` file in the project root.

This change simplifies configuration management, particularly for sensitive information like API keys, which can now be managed in a local `.env` file without being committed to version control.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant