Skip to content

Commit 29fe896

Browse files
committed
Add readme. Restructure directory
1 parent a1777fd commit 29fe896

File tree

5 files changed

+1145
-208
lines changed

5 files changed

+1145
-208
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# RISE Camp 2020
2+
3+
Welcome to the MC<sup>2</sup> tutorial for RISE Camp 2020. MC<sup>2</sup> is a platform for secure collaborative computation. In particular, for this tutorial we present [Secure XGBoost](https://github.com/mc2-project/secure-xgboost), a library for secure collaborative gradient boosted decision tree learning. Below are instructions on how to set up and run the tutorial.
4+
5+
## Cloud Setup
6+
Azure Confidential Computing offers [virtual machines with Intel SGX support](https://azure.microsoft.com/en-us/blog/dcsv2series-vm-now-generally-available-from-azure-confidential-computing/) that you can use with MC2. You can also choose to use non enclave machines, in which case you'll need to build our library in simulation mode, as explained below.
7+
8+
## Docker Setup
9+
If you choose not to use the cloud, you can also choose to use Docker.
10+
11+
## Install Secure XGBoost.
12+
Follow the README in the [Secure XGBoost repository](https://github.com/mc2-project/secure-xgboost) to install Secure XGBoost. If using a machine without enclave support, build the library in simulation mode -- take a look at step 5 of the ["Installation"](https://github.com/mc2-project/secure-xgboost#installation) section.
13+
14+
## Start the tutorial
15+
Once you've installed Secure XGBoost, clone this repository and navigate to `risecamp/mc2/tutorial/`. Begin the tutorial with Exercise 1. You'll need multiple people doing the tutorial together for the tutorial.

mc2/README.md

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
import pandas as pd
23

34
with open('vmss.json') as f:
45
data = json.load(f)
@@ -7,6 +8,9 @@
78

89
for vm in data["value"]:
910
ip = vm["properties"]["ipAddress"]
10-
ips.append(ip)
11+
ips.append(ip + ":8888")
1112

12-
print(ips)
13+
# print(ips)
14+
15+
df = pd.DataFrame(ips)
16+
df.to_csv("ip.csv", index=False)

0 commit comments

Comments
 (0)