DEV Community

Discussion on: Have you ever regretted going open-source?

Collapse
 
hb profile image
Henry Boisdequin

Not necessarily, open-source is amazing! I do regret committing my .env file once though.

Collapse
 
madza profile image
Madza

If you are not starting your project from the ground-up, all the frameworks usually come with .gitignore with .env already on the list, just to be sure πŸ˜€πŸ˜€

Collapse
 
rishitkhandelwal profile image
Rishit Khandelwal

Forget that, I committed a file which had tokens inside of it, didn't know about dotenv back then. 😐

Collapse
 
rishitkhandelwal profile image
Rishit Khandelwal

And pushed the file...

Thread Thread
 
desirtechnologies profile image
Jeffrey Desir

god I love synchronicity; I did this yesterday and the learned about Ruby .dotenv...magical