Modern stage lighting control system
This project is seperated into three distinct apps. They exist right now in one repository for ease of deployment and synchronization of commits.
subicul
is the backend. It is written in Go and serves up a websocket connection.
caido
is the frontend.
api
just has the JSON schmea that defines the structure of the websocket messages sent between the fontend and the backend.
To install, download the binary and execute it. To output on a DMX USB Pro device, pass in the path to the serial port as the first argument.
We need go version 1.5
Also you have to set GO15VENDOREXPERIMENT=1
We use glide
to manage versioning. Please refer to their docs
for how to update and install new packages properly.
mkdir -p $GOPATH/src/github.com/lucibus
cd $GOPATH/src/github.com/lucibus
git clone https://github.com/lucibus/lucibus.git
cd lucibus
go get github.com/Masterminds/glide
glide up
To build run make
. This will build the ./subicul
executable. Running
this will start the HTML server on port 80 and the websocket server on port
8080.
There are some integration test that make sure the server is working:
npm run test:selenium
npm run test:server
npm run test