Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Jan 3, 2018
1 parent 1f654fe commit d63b321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ compile 'io.github.cdimascio:java-dotenv:3.0.0'
```

## Usage
Use dotenv.get("...") instead of Java's System.getenv(...). Here's [why](#faq).

Create a `.env` file in the root of your project

Expand Down Expand Up @@ -88,7 +89,7 @@ val dotenv = dotenv {
}
```

- see [Kotlin DSL configuration options](#kotlin-dsl-configuration-options)
- see [Kotlin DSL configuration options](#configuration-options)

### Get environment variables
Note, environment variables specified in the host environment take precedence over those in `.env`.
Expand Down

0 comments on commit d63b321

Please sign in to comment.