Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
lekotros committed Apr 10, 2022
1 parent 8779e34 commit c3db938
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,28 @@
docker pull lekojson/greenlight
```

2. Running a validation
##### Web GUI
1. Running the web gui

```sh
docker run -it -p 8080:8080 lekojson/greenlight server
```

2. Open a browser and navigate to `http://localhost:8080`

##### CLI
1. Running a validation

- #### With demo files provided in the image

```sh
docker run -it lekojson/greenlight -i testdata
docker run -it lekojson/greenlight validate -i testdata
```

- #### Providing your own files

```sh
docker run -it -v /path/to/documents:/greenlight/documents lekojson/greenlight
docker run -it -v /path/to/documents:/greenlight/documents lekojson/greenlight validate
```

#### 🛠️ Building from source
Expand Down

0 comments on commit c3db938

Please sign in to comment.