Skip to content

Commit

Permalink
Update dotenv-file.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCurrin authored Jul 26, 2024
1 parent 8d9beae commit f48de70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cheatsheets/shell/dotenv-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $ export $(< .env)
Or this (does not work with comments in the file).

```sh
$ export $(xargs< .env)
$ export $(xargs < .env)
```

Run that once in a terminal window. Then start your app.
Expand All @@ -73,8 +73,8 @@ In a Makefile, you can set this to make that easier:

```Makefile
run:
export $(< .env) \
&& npm start
export $(< .env) \
&& npm start
```

Then run:
Expand Down

0 comments on commit f48de70

Please sign in to comment.