Guide for getting the fab-modules back-end installed and running
The latest version (incarnation) of the fab-modules is running in the browser.
The modules are located at: http://mod.cba.mit.edu
If you click on the fab modules link in the top of the page you get to http://mod.cba.mit.edu/mods.html
Near the bottom are links to the mod_server dependencies and mod_serial.y dependencies.
(Create the folder that you will be running the node.js server from) (finding out if this is necessary)
- make sure to run these commands line by line instead of copying and pasting the whole bunch at the same time.
sudo apt-get install curl curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install -y build-essential
output sould be the version number (v0.10.35)
NMP (Node Package Manager) comes pre-installed with Node.js, but make sure it is at the latest version by running:
sudo npm install npm -g
output sould be the version number (2.2.0)
The mod_get installation script will install this package in the correct folder.
required to run py-serial out to the modela.
sudo apt-get install python python-tk python-serial
Installing the server-part
wget http://mod.cba.mit.edu/mod_get chmod +x mod_get ./mod_get
This script will create the directory "mod.cba.mit.edu/" wherein it will install all current fab-module html files and the server component.