This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new 8375c2f  [docs] Set SGX_MODE=SW in simulation mode (#306)
8375c2f is described below

commit 8375c2f9bfd905aa940ad6c27a9f427afc11de7e
Author: Mingshen Sun <[email protected]>
AuthorDate: Wed May 20 13:27:09 2020 -0700

    [docs] Set SGX_MODE=SW in simulation mode (#306)
---
 docs/my-first-function.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/my-first-function.md b/docs/my-first-function.md
index b6e5268..e141bb1 100644
--- a/docs/my-first-function.md
+++ b/docs/my-first-function.md
@@ -168,3 +168,10 @@ At last, launch all services with `docker-compose`:
 ```
 $ (cd docker && docker-compose -f docker-compose-ubuntu-1804.yml up --build)
 ```
+
+In simulation mode, run examples with `SGX_MODE=SW` environment variable.
+
+```
+$ cd examples/python
+$ SGX_MODE=SW PYTHONPATH=../../sdk/python python3 builtin_echo.py 'Hello, 
Teaclave!'
+```


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to