Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.08 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.08 KB

Client-Server Application Using GRPC

Generic badge

Setup

Make Sure to install python3, grpc for python.

Be sure that you have Google Cloud Translator and Google Cloud Speech to Text Translator enabled on your google cloud.

  1. Install all the Python libraries and dependencies needed.

  2. Copy Haproxy configuration to specified location.

    sudo cp /path/to/haproxy.cnf /etc/haproxy
    
  3. Copy Haproxy Credentials to specific location.

    sudo cp /path/to/(example).cert /etc/ssl/creds
    sudo cp /path/to/(example).pem /etc/ssl/private
    
  4. Run this command before using bash script

    sudo apt-get install parallel
    
  5. Run bash script to run the code.

    cd GRPC-Client-Server/
    bash start.sh
    

You can see a Client-Server Application Running.

Output received with also be stored in a file at location "/GRPC-Client-Server/client/result.txt"