Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for multiple .env files #674

Closed
wants to merge 8 commits into from
Closed

feat: add support for multiple .env files #674

wants to merge 8 commits into from

Conversation

AkhilJ321
Copy link
Contributor

Description

  • Added Support for multiple .env files.
  • Added Documentation for the same.

Related issue(s)
Fixes: #638

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@Souvikns
Copy link
Member

Souvikns commented Jan 9, 2024

@AkhilJ321 you have some linter issues, can you double-check it once thanks.

@AkhilJ321
Copy link
Contributor Author

@AkhilJ321 you have some linter issues, can you double-check it once thanks.

Handled the linting errors,also corrected the documentation .

Glee has support for loading variables from `.env.local` into `process.env`.
This is useful for storing secret environment variables needed in development while keeping them out of the repository.

However, sometimes you might want to add some defaults for the `development` or `production` environment. You can do that by creating files with the following names:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please mention how the user can change the environment. (by setting NODE_ENV in their environment.)

Copy link

sonarqubecloud bot commented Jan 9, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@AkhilJ321
Copy link
Contributor Author

I had some issues with github , and my forked repo got all unbalanced. So I will create a new PR after creating a new fork and making changes.

@AkhilJ321 AkhilJ321 closed this Jan 9, 2024
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.

Support for Multiple .env Files
5 participants