Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 879 Bytes

File metadata and controls

44 lines (29 loc) · 879 Bytes
tags
node
minimal
remote
encryption
Flower Confidential Remote Compute
typescript

Flower Confidential Remote Compute example

Project setup

You must first download the example with the following command:

git clone --depth=1 https://github.com/adap/flower.git _tmp && mv _tmp/intelligence/ts/examples/encrypted . && rm -rf _tmp && cd encrypted

You can then install the project dependencies with:

npm i

Warning

In order to run this example, you need to update fi.apiKey = 'REPLACE_HERE' inside src/index.ts with a valid API key (if you don't have one, you can register here).

Build

Then, you need to build the project:

npm run build

Run

In order to run the example once the project has been built:

node dist/index.js

or

npm run start