Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Nov 19, 2023
1 parent 7401b61 commit 17bfe31
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ brew install dotenv-org/brew/dotenv

> One tool that works everywhere. Consistent and predictable loading of your environments across your entire infrastructure and organization.
With node

```sh
# node
$ echo "HELLO=World" > .env && echo "console.log('Hello ' + process.env.HELLO)" > index.js
Expand All @@ -34,7 +36,7 @@ Hello World
# ^^ Your environment variable(s) are injected into your application process just in time
```

> Just put `dotenv run --` before your application start command. It works with *any language, framework, or platform*.
or with python

```sh
# python
Expand All @@ -46,9 +48,11 @@ Hello
$ dotenv run -- python3 index.py
Hello World
# ^ Success
#
# --------------------------------
#
```

or with *any language, framework, or platform*. Just put `dotenv run --` before your application start command.

```
# next.js
$ dotenv run -- next dev
[dotenv][INFO] Injecting 13 environment variables into your application process
Expand All @@ -65,6 +69,8 @@ $ dotenv run -- php artisan serve
# ...
```



 

## Multiple Environments
Expand Down

0 comments on commit 17bfe31

Please sign in to comment.