1.4.0 • Published 7 years ago
reveal-socket-remote v1.4.0
Reveal Remote
Build with socket.io and fastify.
Usage
- Clone this repo
Install dependencies:
```bashWith yarn
yarn
or with npm
npm install
Run server
```bashnode server/index.js --port 1337 --host 0.0.0.0
Setup your presentation
- Setup your reveal project
Install this from npmmn
```bashWith yarn
yarn add reveal-socket-remote
or with npm
npm install reveal-socket-remote --save
```Import the plugin
// Setup your reveal stuff // [...] // Then import my plugin const { initRemoteSocket } = require('reveal-socket-remote'); // Now you can init the connection // The first argument needs to be the Reveal instance initRemoteSocket(Reveal, 'your server address here')