Skip to content

Commit

Permalink
update license info
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Nov 30, 2017
1 parent 7f3eebd commit 3578631
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright [2017] Carmine M DiMascio

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ Dotenv is a zero-dependency module that loads environment variables from a `.env

**Note:** Java does not provide a way to set environment variables on a currently running process. Thus, once `java-dotenv` is configured, you can use the `dotenv.get("...")` API to get environment variables, instead of `System.getenv(...)`.

## Install

### Maven
```xml
<dependency>
<groupId>io.github.cdimascio</groupId>
<artifactId>java-dotenv</artifactId>
<version>0.6.1</version>
</dependency>
```

### Gradle

```
compile 'io.github.cdimascio:java-dotenv:0.6.1'
```


## Usage

### Create a `.env` file
Expand Down Expand Up @@ -54,4 +72,5 @@ Note, environment variables specified in `.env` take precedence over those confi
```

## License
Apache 2.0

[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)

0 comments on commit 3578631

Please sign in to comment.