From a44c076f1ee87efd5a2b43484b0b044654ad23aa Mon Sep 17 00:00:00 2001
From: palomagr <palomagr@mit.edu>
Date: Mon, 12 Nov 2018 12:31:27 -0500
Subject: [PATCH] Installation File

how to install and run atkapi
---
 installing-node-sp-ws.md | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 installing-node-sp-ws.md

diff --git a/installing-node-sp-ws.md b/installing-node-sp-ws.md
new file mode 100644
index 0000000..779e248
--- /dev/null
+++ b/installing-node-sp-ws.md
@@ -0,0 +1,29 @@
+# Installing Node.js, WebSocket and SerialPort
+
+To interface over mods, or with atkterminal, you'll need to install node.js, and then the packages serialport and ws (websocket).
+
+## Install Node.js
+
+Node.js is a runtime environment for javascript, so you can write and run js locally. [Download and install it here](https://nodejs.org/en/download/) - right now, I'm running v6.11.3, 8.11.3 should work as well. 
+
+To check that node is installed, you can use
+
+``node -v``
+
+## Install Serialport
+
+Node comes with a package controller called 'npm' - node package manager. You can use this to install dependencies for node programs. 
+
+Serialport is a package for node that allows it to interact with a hardware serial port.
+
+Navigate to the directory where you'll be running from (so, mods/ to run the *atkbridge* or automatakit/ for *atkterminal*). Do
+
+``npm install serialport``
+
+## Install WS (WebSocket)
+
+WebSockets are very simple web connections. In the *atkbridge* we use one to move data between the browser and local hardware.
+
+To install ws, do
+
+``npm install ws``
\ No newline at end of file
-- 
GitLab