FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Why I Deleted Every .env File on My Machine
How-ToDevOps

Why I Deleted Every .env File on My Machine

via Dev.to DevOpsJasperNoBoxDev3h ago

It started at 1am on a Tuesday. I was rotating a Cloudflare API token — routine stuff, the old one was about to expire. I updated the .env in the project I was working on, ran the deploy, everything was fine. Then the staging environment for a different project broke. Same token, different .env , still pointing to the old value. I fixed it. Then a third project broke the next morning. That's when I ran the command that changed everything: $ find ~/dev -name ".env" -not -path "*/node_modules/*" -not -path "*/.git/*" ./boundless-learning/.env ./gitpulse/.env ./gitpulse/api/.env ./noxterm/website/.env ./blindspot/.env ./blindspot/api/.env ./112schade/.env ./bitz-snoek/.env ./playnist/.env ... $ find ~/dev -name ".env" -not -path "*/node_modules/*" -not -path "*/.git/*" | wc -l 47 Forty-seven .env files. On one machine. I sat there staring at the terminal for a full minute. The audit I spent the next hour opening every single one. Here's what I found: The duplicates. My Cloudflare API toke

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
5 views

Related Articles

I Haven’t Written Real Code in 3 Months. My Products Still Ship.
How-To

I Haven’t Written Real Code in 3 Months. My Products Still Ship.

Medium Programming • 3h ago

My Learning Experience with Sorting Algorithms
How-To

My Learning Experience with Sorting Algorithms

Dev.to Tutorial • 5h ago

Stop Building Projects. Start Building Systems.
How-To

Stop Building Projects. Start Building Systems.

Medium Programming • 5h ago

I Learned More in 3 Months Than 3 Years (The System That Actually Works)
How-To

I Learned More in 3 Months Than 3 Years (The System That Actually Works)

Medium Programming • 5h ago

CA 12 - Next Permutation
How-To

CA 12 - Next Permutation

Dev.to • 6h ago

Discover More Articles