Skip to content

Lordnibbler/colorpicker-server

Repository files navigation

colorpicker-server

A Backbone.js GUI, Node.js and Socket.io server that emits colorChanged and colorSet events to a colorpicker-client.

There are in-depth setup instructions for running the colorpicker-client on a Beaglebone Black with angstrom distro of linux at the above URL.

Setup

# set up the GUI and server
git clone git@github.com:Lordnibbler/colorpicker-server.git
cd colorpicker-server
npm install -d
npm start

# set up the client
git clone git@github.com:Lordnibbler/colorpicker-client.git
cd colorpicker-client
npm install
npm start

Browse to http://localhost:1337 to use the GUI.

Testing

# use the test watchers
npm test

# or run the tests once
mocha -R dot test/src/*.coffee && karma start --single-run

About this Project

You can read the original blog post and an updated post here

Watch the video here:

Colorpicker