Giter Site home page Giter Site logo

bulb's Introduction

Bulb Control

Control panel in Electron for Playbulb

Installation

Dev

Prior to setup make sure that the global dependencies are met: ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] └── [email protected]

npm -g i babel-cli@ bower bunyan eslint gulp node-gyp npm

then npm i

also need jspm registry create bower jspm-bower-endpoint for jspm

Whenever you run npm install you need to run

./node_modules/.bin/electron-rebuild

you may need to first run (if it isn't installed) @todo work out whether it should be installed as a dependency or a dev dependency or globally

npm install --save-dev electron-rebuild`

Need to run npm install in the app/ dir, and then fix the baseUrl in app/browser/config.json for jspm

Distribution

Run

npm run sm|md|lg|full

Caveats

Trying to set Linux capabilities

sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)

Whenever you ran 'jspm init' correct line 2 of browser/config.js to: (unless you run as part of npm i, npm update still will need this fix)

baseURL: __dirname + "/",

When npm i is run may need to run ./node_modules/.bin/electron-rebuild from the app/ dir

Todo

  • convert css to sass
  • process sass in gulp
  • [/] promisify
  • handle group connection
  • store device color or effect state in cache
  • store group color or effect state in cache
  • get gulp tasks running electron
  • effect and color previews in device and group lists
  • refactor to Angular 1.5+ components
  • add timers
  • building packages for distribution
  • refactor to Angular 2 with TypeScript

bulb's People

Contributors

lukehoggett avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.