Skip to content

Commit

Permalink
README updated
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwild committed Sep 11, 2019
1 parent 04c1a89 commit 756c7b5
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,78 @@ $ npm start
Please provide a path to an input file!
```

## Run with Sample Data

### Run from linked serapaycli

Build the application

```
npm i
npm run build
npm link
```

Run with the sample data. Make sure you are within the application root folder

```
serapaycli ./data/input.json
```

Output

```bash
0.06
0.90
87.00
3.00
0.30
0.30
5.00
0.00
0.00
```

### Run from dist

Build the application

```
npm run build
```

Run with sample data

```
npm run start ./data/input.json
```

Alternatively

```
node ./dist/serapaycli.js ./data/input.json
```

Output

```bash
0.06
0.90
87.00
3.00
0.30
0.30
5.00
0.00
0.00
```

## Log

### Tue 10 Sep 2019

Computation seems to be working correctly

### Sun 8 Sep 2019

- Completed unit test for Config class which wraps config api
Expand Down

0 comments on commit 756c7b5

Please sign in to comment.