occlum/demos/remote_attestation/init_ra_flow/run.sh
2022-03-17 15:04:04 +08:00

18 lines
279 B
Bash
Executable File

#!/bin/bash
set -e
GRPC_ADDR="localhost:50051"
echo "Start GRPC server on backgound ..."
pushd occlum_server
occlum run /bin/server ${GRPC_ADDR} &
popd
sleep 3
echo "Start Flask-TLS restful web portal on backgound ..."
pushd occlum_client
occlum run /bin/rest_api.py &
popd