No description
Find a file
2015-08-17 16:41:56 -04:00
cli adds command line options 2015-08-17 16:41:56 -04:00
index.js adds proxy server 2015-08-14 17:32:51 -04:00
LICENSE Initial commit 2015-08-14 15:52:46 -04:00
logo.txt adds proxy server 2015-08-14 17:32:51 -04:00
package.json adds command line options 2015-08-17 16:41:56 -04:00
README.md adds proxy server 2015-08-14 17:32:51 -04:00

XCarve Proxy

A Node.js proxy server for connecting to a remote XCarve via a Raspberry Pi that is running xcarve-server.

Installation

Make sure you have the latest stable version of Node.js installed on your computer.

$ node -v
v0.12.6

Install forever and xcarve-proxy on your computer using npm.

$ npm install -g forever xcarve-proxy

Starting the Daemon

Make sure you have xcarve-server running on your Raspberry Pi before continuing. If everything has been setup properly, you can start the proxy daemon by running the following command:

$ xcarve-proxy

██╗  ██╗      ██████╗ █████╗ ██████╗ ██╗   ██╗███████╗
╚██╗██╔╝     ██╔════╝██╔══██╗██╔══██╗██║   ██║██╔════╝
 ╚███╔╝█████╗██║     ███████║██████╔╝██║   ██║█████╗
 ██╔██╗╚════╝██║     ██╔══██║██╔══██╗╚██╗ ██╔╝██╔══╝
██╔╝ ██╗     ╚██████╗██║  ██║██║  ██║ ╚████╔╝ ███████╗
╚═╝  ╚═╝      ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝  ╚═══╝  ╚══════╝

starting proxy daemon on port 1338...

Visit easel.inventables.com to test out the proxy.

Stopping the Daemon

$ forever stopall