No description
Find a file
Todd Treece 4f9093f403 1.0.5
2015-08-17 19:03:29 -04:00
cli adds platform check for cli command 2015-08-17 19:03:15 -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 updates usage instructions 2015-08-17 16:42:07 -04:00
package.json 1.0.5 2015-08-17 19:03:29 -04:00
README.md bump copyright year 2015-08-17 16:47:38 -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 Proxy

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 start

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

starting proxy on port 1338...

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

Stopping the Proxy

$ xcarve-proxy stop
stopping proxy...

License

Copyright (c) 2015 Adafruit Industries. Licensed under the MIT license.

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!