EBC Exercise 07 Installing BoneScript

Overview
Here's how to install the latest drivers for BoneScript for the BeagleBone Blue.

bone$ cd # Put in home directory bone$ git clone https://github.com/MarkAYoder/bonescript.git
 * Clone my repo

bone$ cd $NODE_PATH bone$ sudo mv bonescript bonescript.orig # Save original directory bone$ sudo ln -s ~/bonescript/ .              # Link to new bonescript in home directory bone$ cd bonescript                      # Link the old node_modules into the new bonescript bone$ '''ln -s $NODE_PATH/bonescript.orig/node_modules/.
 * Install

socket.io fix
If the bone server doesn't work and is asking for socket.io, then you might have a problem with linking this library. Try this:

cd $NODE_PATH  #Takes you to your NODE_PATH directory sudo ln -s bonescript.orig/node_modules/socket.io. #The above line creates a symbolic link with the actual location of  #socket.io to your current directory(.)