File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ protobuf :
2+ python -m grpc_tools.protoc -I . \
3+ --python_out=. \
4+ --grpc_python_out=. \
5+ service.proto
6+
7+ gen-grpc-key :
8+ openssl req -newkey rsa:2048 -nodes -keyout server.key -x509 -days 365 -out server.crt \
9+ -subj " /emailAddress=linfan.fine@bytedance.com/CN=fl-sgx-test.com/O=BBB/OU=BBB"
10+
11+ docker-build :
12+ cd ../.. && docker build -t sgx_network_simulation:latest -f experiments/sgx_network_simulation/Dockerfile .
13+
14+ run-docker-server :
15+ docker run -it -p 32443:32443 sgx_network_simulation:latest server
16+
17+ run-docker-client :
18+ docker run -it sgx_network_simulation:latest client --server_addr=localhost:32101
19+
20+ run-docker-debug :
21+ docker run -it --rm sgx_network_simulation:latest
Original file line number Diff line number Diff line change 1+ grpcio == 1.41.1
2+ grpcio-tools == 1.41.1
You can’t perform that action at this time.
0 commit comments