Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions loanFinal/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To run multiple instances of the service with different .yml.
java -jar build/libs/loancalc.jar server build/resources/main/loancalc.yml

- To run 2nd instance on a different port, run:
java -Ddropwizard.config=src/main/resources/loancalc.yml -jar build/libs/hello-world.jar
java -Ddw.server.applicationConnectors[0].port=9090 -Ddw.server.adminConnectors[0].port=9091 -jar build/libs/loancalc.jar server build/resources/main/loancalc.yml

- Access the URL by doing:
http://localhost:9000/loan //this returns calculation based on defaults of 15000, 3.0 and 60
Expand All @@ -30,4 +30,4 @@ To run multiple instances of the service with different .yml.
- Access the webapp from your browser
http://localhost:8888/loan/loan.html

- Review loan.html
- Review loan.html