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

Add support for .env files #6

Open
pepelsbey opened this issue Mar 20, 2025 · 0 comments
Open

Add support for .env files #6

pepelsbey opened this issue Mar 20, 2025 · 0 comments
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@pepelsbey
Copy link
Member

Otherwise, you need to explicitly set your variables when starting the backend:

CONTENT_ROOT=../content/files npm run rari serve

Something similar to what we have in content: env-cmd + cross-env, I guess.

I’d also recommend adding a sample file with the most likely content location pre-filled, so you can copy and rename it to make it work in seconds.

@mdn-bot mdn-bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

2 participants