DEV Community

Discussion on: .env file not read

Collapse
 
rafarochas91 profile image
Rafael Rocha

hmm, thats indeed weird. Is your repo public by any chance?

Thread Thread
 
yobretyo profile image
Bret

No, it’s private. But I was told you still create variables

Thread Thread
 
rafarochas91 profile image
Rafael Rocha

Yes of course. Just meant it because if it was public I could check what was wrong. Echoing is just as easy as having a dummy script with echo $YOUR_ENV_VAR

Thread Thread
 
yobretyo profile image
Bret

I have a repo, but that project is private because I have API keys