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

fix(docs): the environment variables file should be called .env.local… #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ItsWendell
Copy link

… in Next.js

Copy link

vercel bot commented Mar 8, 2024

@ItsWendell is attempting to deploy a commit to the TRBL Team on Vercel.

A member of the Team first needs to authorize it.

@@ -48,7 +48,7 @@ To try out this repo yourself, follow the steps below:

1. Clone the repo to your computer (`git clone git@github.com:payloadcms/payload-3.0-alpha-demo.git`)
1. `cd` into the new folder by running `cd ./payload-3.0-alpha-demo`
1. Copy the `.env.example` by running `cp .env.example .env` in the repo, then fill out the values including the connection string to your DB
1. Copy the `.env.example` by running `cp .env.example .env.local` in the repo, then fill out the values including the connection string to your DB

Choose a reason for hiding this comment

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

Suggested change
1. Copy the `.env.example` by running `cp .env.example .env.local` in the repo, then fill out the values including the connection string to your DB
1. Copy the `.env.local.example` by running `cp .env.local.example .env.local` in the repo, then fill out the values including the connection string to your DB

@jacobsfletch
Copy link
Member

@jacobsfletch
Copy link
Member

Hey @ItsWendell and @franciscolourenco thanks for bringing this up 👍 we also need to rename the .env.example file itself to .env.local.example and ensure that this new env path is respected on the Payload-side, i.e. connection string, etc.

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.

None yet

3 participants