Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (23 loc) · 579 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 579 Bytes

Getting started

Requirement: https://github.com/thingweb/node-wot

To install node-wot:

$ git clone https://github.com/thingweb/node-wot
$ cd node-wot
$ npm install
$ npm run build
$ npm run test # optional
$ sudo npm run link

To install node-wot-ssn-wrapper

$ cd node-wot-ssn-wrapper
$ npm link node-wot
$ npm install

To start with an example:

$ node src/ssn-wrapper.js examples/tree-height.ttl examples/tree-height.jsonld

Troubleshoot

If the installation of node-wot throws error, try updating node.js to the latest LTS (6.11).