Skip to content

adafruit/xcarve-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XCarve Proxy

A Node.js proxy server for connecting to a remote XCarve via a Raspberry Pi that is running xcarve-server. For detailed install instructions, please visit the tutorial on the Adafruit Learning System.

Installation

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

$ node -v
v7.0.0

Install xcarve-proxy on your computer using npm.

$ npm install -g 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 the proxy.

Stopping the Proxy

$ xcarve-proxy stop
stopping proxy...

License

Copyright (c) 2015-2016 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!