gordonbrander / openag-ui

UI for OpenAg food computers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Developing

We use a handful of front-end tools, written in Node, to bundle scripts, do cross-browser compilation and more. To do development work on the front-end, you'll need to set up these tools. (Note: these instructions are only for developers. This is not necessesary if you simply want to use the front-end.)

Prerequisites:

  • Node
  • NPM (comes bundled with Node)

Install:

cd ~/path/to/openag-ui/
npm install

Build:

npm run build

If you're doing active development, and want your JS files to automatically rebuild after you save, you can run

npm run develop

The front-end can also log all the messages that go through the system to the console. This is useful for debugging, since the UI is deterministic and will reproduce the same UI for the same messages. To turn on this feature, edit openag-config.json and set the debug field to true.

    {
      "debug": true
      // ...
    }

Status

2016-04 Blink test.

  • Create recipe
  • Run recipe
  • Dump sensor data
  • Upload recipe
  • Download recipe
  • Sync dataset
  • List recipes

About

UI for OpenAg food computers

License:GNU General Public License v3.0


Languages

Language:JavaScript 85.2%Language:CSS 13.4%Language:HTML 1.3%