You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/articles/20250227-loading-env-without-leaks.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ date = 2025-02-27
6
6
tags = ["tip", "unix", "dotenv"]
7
7
+++
8
8
9
+
## Context
10
+
9
11
If you're developing a server or a web app, and this server needs to interact with third-party services, you're probably going to use a `.env` (dotenv) file to define those variables. At least, when running your project locally.
10
12
11
13
So, you would probably end up doing something like `export $(cat .env | xargs)`, and then running your process.
0 commit comments