2 ## Install virtual environments
5 python3 -m pip install --user virtualenv # Install virtualenv
7 python3 -m venv venv # Create virtual environment under py-executor path
9 source env/bin/activate # Activate the current virtualenv
11 pip install -r requirements.txt # Install the pip packages defined in requirements.txt file
14 ## Generate TLS certificates
17 # Generate Server Certificates( chain and private keys ) using config file
18 openssl req -config py-executor.conf -new -x509 -newkey rsa:4096 -nodes -keyout py-executor-key.pem -days 3650 -out py-executor-chain.pem
20 # Verify the certificates generated
21 openssl x509 -in py-executor-chain.pem -text -noout
24 ## Generate Python GRPC bindings from Proto file
27 cd blueprints_grpc/proto
29 # Remove Python generated files
32 #Generate proto python
33 python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. *.proto
35 fix the python import package issues.