- Install git (version 2.40.1.windows.1}) Windows
- Install python version 3.9.13 Windows. Ensure python is accessible via Powershell
- Install pip version 23.2.1
py -m ensurepip --upgradeSource - Create a new virtual environment for pip and install the following packages
- grpcio==1.59.0
- grpcio-tools==1.33.2
- protobuf==3.14.0
- Activate the newly created environment
- Clone the repository CSE-531-Project
git clone https://github.com/codlocker/CSE-531-Project.git
- Run the command
cd CSE-531-Project/Project 1after cloning - Run the following the command the build the proto files:
python -m grpc_tools.protoc -I . .\BankService.proto --python_out=. --grpc_python_out=. - The entry point of the code is through main.py
- -i 'Input file path'
- -o 'Output file path'
- Example command : python main.py -o output.json -i input.json
- On running the input.json, the output is as follows : output.json
- On running the input1.json, the output is as follows : output1.json
-
Run the command
cd CSE-531-Project/Project 2after cloning -
Run the following the command the build the proto files:
python -m grpc_tools.protoc -I . .\BankService2.proto --python_out=. --grpc_python_out=. -
The entry point of the code is through main.py and add input.json or any name as the input file
- Example command :
python main.py input.json
- Example command :
-
To run the checker scripts. Note there are 3 files customer_output.json, branch_output.json and output.json
python checker_part_1.py customer_output.jsonpython checker_part_2.py branch_output.jsonpython checker_part_3.py output.json
-
Run the command
cd CSE-531-Project/Project 3after cloning -
Run the following the command the build the proto files:
python -m grpc_tools.protoc -I . .\BankService3.proto --python_out=. --grpc_python_out=. -
The entry point of the code is through main.py and add input.json or any name as the input file
- Example command :
python main.py input.json
- Example command :
-
To run the checker scripts. Note the file is output.json
python checker.py output.json





