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

Update and Document Environment Variable Configuration #36

Open
PrakharSachan5342 opened this issue Nov 1, 2023 · 0 comments
Open

Update and Document Environment Variable Configuration #36

PrakharSachan5342 opened this issue Nov 1, 2023 · 0 comments

Comments

@PrakharSachan5342
Copy link

The comments explain the purpose of the environment variables and the fact that they can be overridden by local configuration in .env.local.

Existing variables like NEXT_PUBLIC_DISCOURSE_HOST, DISCOURSE_HOST, and GSOC_LEADERBOARD_BASE_URL remain unchanged.

A comment is included to indicate where you can add new custom environment variables and specify their values. You can follow the same pattern to add new variables if needed.

Remember to replace 'new_variable_value' with the actual value you want to assign to a new variable.

code:-

Environment Variables Configuration

The following environment variables are defined here to provide default values and support certain features out of the box. Please note that these variables can be overridden by values defined in a local configuration file, .env.local.

For more information on environment variables in Next.js, refer to: https://nextjs.org/docs/basic-features/environment-variables#default-environment-variables

Publicly Accessible Discourse Host URLs

These URLs are used as defaults for Discourse host configurations.

NEXT_PUBLIC_DISCOURSE_HOST='https://forums.rocket.chat'
DISCOURSE_HOST='https://forums.rocket.chat'

GSOC Leaderboard Base URL

This variable specifies the base URL for the GSOC (Google Summer of Code) leaderboard.

GSOC_LEADERBOARD_BASE_URL='https://gsoc.rocket.chat'

Add your custom environment variables below (if needed):

NEW_VARIABLE_NAME='new_variable_value'

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

No branches or pull requests

1 participant