No description
| configs | ||
| lib | ||
| .gitignore | ||
| cli | ||
| index.js | ||
| LICENSE | ||
| logo.txt | ||
| package.json | ||
| README.md | ||
Raspberry Pi XCarve Server
A Node.js Raspberry Pi server for controlling an attached XCarve from a remote machine.
Installation
Make sure you have the latest stable version of Node.js installed on your Raspberry Pi. You can download it from the node-arm project.
pi@xcarve ~ $ node -v
v0.12.6
Make sure the global npm folder on your Raspberry Pi is writable by the pi user.
pi@xcarve ~ $ chown -R pi /usr/local
Install forever and xcarve-server on your Raspberry Pi.
pi@xcarve ~ $ npm install -g forever xcarve-server
Starting the Daemon
If everything has been installed, you can start the server daemon by running the following command:
pi@xcarve ~ $ xcarve-server
██╗ ██╗ ██████╗ █████╗ ██████╗ ██╗ ██╗███████╗
╚██╗██╔╝ ██╔════╝██╔══██╗██╔══██╗██║ ██║██╔════╝
╚███╔╝█████╗██║ ███████║██████╔╝██║ ██║█████╗
██╔██╗╚════╝██║ ██╔══██║██╔══██╗╚██╗ ██╔╝██╔══╝
██╔╝ ██╗ ╚██████╗██║ ██║██║ ██║ ╚████╔╝ ███████╗
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝
starting server daemon on port 1338...
Stopping the Daemon
pi@xcarve ~ $ forever stopall