You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-server/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,18 +69,20 @@ The geolocation + datetime data is to be provided in an array in JSON format as
69
69
"lat": 40.757339,
70
70
"lng": -73.985992,
71
71
"startTS": 1583064000,
72
-
"endTS": 1583067600
72
+
"endTS": 1583067600,
73
+
"testResult": false,
73
74
},
74
75
{
75
76
"lat": 40.793840,
76
77
"lng": -73.956900,
77
78
"startTS": 1583150400,
78
-
"endTS": 1583154000
79
+
"endTS": 1583154000,
80
+
"testResult": true,
79
81
},
80
82
81
83
]
82
84
```
83
-
In the example above, the first datapoint is for Times Square in New York City on March 1st, 2020 from 12pm to 1pm, whereas the second data point is somewhere in Central Park the following day March 2nd, 2020 from 12pm to 1pm.
85
+
In the example above, the first datapoint is for Times Square in New York City on March 1st, 2020 from 12pm to 1pm, whereas the second data point is somewhere in Central Park the following day March 2nd, 2020 from 12pm to 1pm. This user did not test positive for Coronavirus the first day, but he tested positive the following day.
2. Install the SGX driver and SDK, as per these [instructions](https://github.com/enigmampc/EnigmaBlockchain/blob/master/docs/dev/setup-sgx.md).
28
28
29
-
```bash
30
-
cd enclave
31
-
```
32
29
33
-
3. Initialize the gitsubmodule:
30
+
3. Move into the `enclave/safetrace` subfolder:
34
31
35
32
```bash
36
-
cd incubator-teaclave-sgx-sdk
37
-
git submodule init
38
-
git submodule update
33
+
cd enclave/safetrac
39
34
```
40
35
41
-
4. Install the SGX driver and SDK, as per these [instructions](https://github.com/enigmampc/EnigmaBlockchain/blob/master/docs/dev/setup-sgx.md).
42
-
43
-
5. A sample code is temporarily included in this repo as a starting point. You can try it out:
36
+
4. Compile the code:
44
37
45
38
```bash
46
-
cd hello-rust
47
39
make
48
-
cd bin
49
-
./app
50
40
```
51
41
52
-
*Note: This code is very particular, and you need to run `./app` from inside the `bin` folder. If you try to run it from anywhere else (e.g. its parent folder, as in`./bin/app`), you will get the following error, because it expects another file in the same folder from where the command is run:*
0 commit comments