diff --git a/loanFinal/readme.txt b/loanFinal/readme.txt index 97fe4c3..e1a7cf0 100644 --- a/loanFinal/readme.txt +++ b/loanFinal/readme.txt @@ -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 @@ -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 \ No newline at end of file +- Review loan.html