Skip to content

Part 1. Install the NodeJS Server

Simon Meusel edited this page Jun 10, 2017 · 5 revisions

Time to actually install the NodeJS server that our company Javascript wizard whipped together to accept events and then stream them to Initial State.

All we have to do is clone this repository onto the Pi:

$ git clone https://github.com/InitialState/node-hub.git

If you git is not installed you can install it with the command:

$ sudo apt-get install git

Once that's done, navigate into the node-hub directory and use npm (installed when we installed node) to install the dependencies:

$ cd node-hub
$ npm install

Now we can get onto actually running the server!

<< Part 1: Install Node - Part 1: Initialize & Run the Server >>