EBC Exercise 07 Installing BoneScript

From eLinux.org
Jump to: navigation, search

thumb‎ Embedded Linux Class by Mark A. Yoder


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

  • Clone my repo
bone$ cd  # Put in home directory
bone$ git clone https://github.com/MarkAYoder/bonescript.git
  • Install
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/ .

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(.)

thumb‎ Embedded Linux Class by Mark A. Yoder