-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
protobuf: | ||
python -m grpc_tools.protoc -I . \ | ||
--python_out=. \ | ||
--grpc_python_out=. \ | ||
service.proto | ||
|
||
gen-grpc-key: | ||
openssl req -newkey rsa:2048 -nodes -keyout server.key -x509 -days 365 -out server.crt \ | ||
-subj "/[email protected]/CN=fl-sgx-test.com/O=BBB/OU=BBB" | ||
|
||
docker-build: | ||
cd ../.. && docker build -t sgx_network_simulation:latest -f experiments/sgx_network_simulation/Dockerfile . | ||
|
||
run-docker-server: | ||
docker run -it -p 32443:32443 sgx_network_simulation:latest server | ||
|
||
run-docker-client: | ||
docker run -it sgx_network_simulation:latest client --server_addr=localhost:32101 | ||
|
||
run-docker-debug: | ||
docker run -it --rm sgx_network_simulation:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
grpcio==1.41.1 | ||
grpcio-tools==1.41.1 |