1.7 KiB
1.7 KiB
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