Browse Source

Updated usage instructions

master
Erle Pereira 6 years ago
parent
commit
43039276e7
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      atm simulation/Readme.txt

+ 4
- 4
atm simulation/Readme.txt View File

@@ -24,16 +24,16 @@ thrift --gen py atmservice


-- Running code.
** Please, as configured, the server and client as designed to listen on localhost port 8082 only
** Please note that as configured, the server and client as designed to listen on localhost port 8082 only. These values can be changes in the server and client code scripts.

go to atmcode folder
1. go to atmcode folder

: start the atm (load the amount of 20$ notes and 50$ notes at start)
2. start the atm (load the amount of 20$ notes and 50$ notes at start)

Usage: ./atmserver.py <number of 20$ notes> <number of 50$ notes>


: use the client (any amounts other than multiples of 20, 50 will yield an "Invalid amount":
3. use the client (any amounts other than multiples of 20, 50 will yield an "Invalid amount":
If successul, the client terminal will show the amount withdrawn and the amount of 20$ and 50$ bills




Loading…
Cancel
Save