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.
-
Install all the Python libraries and dependencies needed.
-
Copy Haproxy configuration to specified location.
sudo cp /path/to/haproxy.cnf /etc/haproxy
-
Copy Haproxy Credentials to specific location.
sudo cp /path/to/(example).cert /etc/ssl/creds sudo cp /path/to/(example).pem /etc/ssl/private
-
Run this command before using bash script
sudo apt-get install parallel
-
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"