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 #52 add template .env.local #53

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.local.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Next secrets
NEXTAUTH_URL=http://localhost:3000/
NEXTAUTH_SECRET=[SECRET]
Copy link
Contributor

Choose a reason for hiding this comment

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

The placeholder [SECRET] for NEXTAUTH_SECRET is clear, but it might be helpful to add a comment explaining how to generate or obtain this secret.

- NEXTAUTH_SECRET=[SECRET]
+ NEXTAUTH_SECRET=[SECRET] # Replace [SECRET] with a strong random string.

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
NEXTAUTH_SECRET=[SECRET]
NEXTAUTH_SECRET=[SECRET] # Replace [SECRET] with a strong random string.

NEXT_PUBLIC_GOOGLE_ANALYTICS=[ANALYTICS]
Copy link
Contributor

Choose a reason for hiding this comment

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

For NEXT_PUBLIC_GOOGLE_ANALYTICS, the placeholder [ANALYTICS] is used. It would be beneficial to include a comment indicating where to find the Google Analytics tracking ID.

- NEXT_PUBLIC_GOOGLE_ANALYTICS=[ANALYTICS]
+ NEXT_PUBLIC_GOOGLE_ANALYTICS=[ANALYTICS] # Replace [ANALYTICS] with your Google Analytics tracking ID.

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
NEXT_PUBLIC_GOOGLE_ANALYTICS=[ANALYTICS]
NEXT_PUBLIC_GOOGLE_ANALYTICS=[ANALYTICS] # Replace [ANALYTICS] with your Google Analytics tracking ID.

Loading