Skip to content

crustio/crust-sworker-teaclave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crust Sworker Teaclave

Prerequisites:

  • Hardware requirements: CPU must contain SGX module, and make sure the SGX function is turned on in the bios, please click this page to check if your machine supports SGX

  • Other configurations

    • Secure Boot in BIOS needs to be turned off
    • Need use ordinary account, cannot support root account
  • Ensure that you have one of the following required operating systems:

    • Ubuntu* 16.04 LTS Desktop 64bits (just for docker mode)
    • Ubuntu* 16.04 LTS Server 64bits (just for docker mode)
    • Ubuntu* 18.04 LTS Desktop 64bits
    • Ubuntu* 18.04 LTS Server 64bits
  • SGX Driver

  • Clone project

    git clone https://github.com/crustio/crust-sworker-teaclave.git
    

Build

Build from docker

use 'sudo ./docker/build.sh' to build docker

Build from source

Please refer to this page

Run

Run from docker

```
cd docker/build
sudo docker-compose up -d crust-sworker-teaclave
```

Run from source

run 'sudo ./scripts/install.sh', this command will install crust-sworker-teaclave to /opt/crust/crust-sworker. Then run '/opt/crust/crust-sworker/bin/crust-sworker-t' to start crust-sworker