No description
Find a file
2015-08-17 16:44:24 -04:00
configs adds server 2015-08-14 17:22:57 -04:00
lib adds info about the source of the lib/* files 2015-08-17 10:54:25 -04:00
.gitignore adds server 2015-08-14 17:22:57 -04:00
cli output cli help if no args are supplied 2015-08-17 16:44:24 -04:00
index.js adds info about the source of the lib/* files 2015-08-17 10:54:25 -04:00
LICENSE Initial commit 2015-08-14 14:14:00 -04:00
logo.txt adds license info to readme 2015-08-17 12:09:08 -04:00
package.json 1.0.0 2015-08-17 12:09:34 -04:00
README.md output cli help if no args are supplied 2015-08-17 16:44:24 -04:00

Raspberry Pi XCarve Server

A Node.js Raspberry Pi server for controlling a XCarve from a remote machine using Easel.

Connecting to a Headless Raspberry Pi

If you would like to connect to a headless Raspberry Pi for setting up WiFi access, you can use the Adafruit Raspberry Pi Finder app to find and connect to your Raspberry Pi.

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 node_modules folder on your Raspberry Pi is writable by the pi user.

pi@xcarve ~ $ sudo chown -R pi /usr/local

Install forever-service and xcarve-server on your Raspberry Pi.

pi@xcarve ~ $ npm install -g forever-service xcarve-server

Starting the Service

If everything has been installed, you can start the service by running the following command:

pi@xcarve ~ $ xcarve-server start

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

starting service on port 1338...

Stopping the Service

pi@xcarve ~ $ xcarve-server stop
stopping service...

License

Some of the code included in the lib/ folder of this repo was extracted from v0.2.1 of the Easel local OS X installer.

All other code is Copyright (c) 2014 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!