Skip to content

Fleshed out multiple env files example - #1860

Merged
molebox merged 22 commits into
mainfrom
env-vars-updates
Jun 14, 2021
Merged

molebox merged 22 commits into
mainfrom
env-vars-updates

Conversation

@molebox

@molebox molebox commented Jun 9, 2021

Copy link
Copy Markdown
Contributor

This PR fleshes out the multiple env files page with a scenario and explains why and when you might want to use them with a Prisma project

@molebox
molebox merged commit bddc091 into main Jun 14, 2021
@molebox
molebox deleted the env-vars-updates branch June 14, 2021 15:19
Although [Prisma creates an `.env` file for you upon installation](./#how-does-prisma-use-environment-variables), there can be times when you want to:

- Bypass `.env` files and let Prisma use the system environment variables directly
- Use `.env` files from a location that the Prisma CLI does not check [by default](./#using-env-files)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where does this link to?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This links to https://www.prisma.io/docs/concepts/more/environment-variables#using-env-files. ./ indicates the index file at the root of the folder, #using-en-files is a heading in the index file.

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.

3 participants