Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
How to build and deploy the openag_ui on a OpenAg compliant device.

How To Install and Deploy the latest openag_ui as a couchapp

Run all the shell commands inside the Raspberry Pi.

Optional: install nodejs/npm

tl;dr: Installing Node.js via package manager

curl -sL | sudo -E bash - sudo apt-get install -y nodejs

Get the code

$ git clone

Build and Deploy the UI

$ cd openag_ui
$ npm install
$ ./node_modules/grunt-cli/bin/grunt couchapp_deploy --app_db_url="http://localhost:5984/app"

Access the UI

Open your browser to http://${IP_OF_FOOD_COMPUTER}:5984/app/_design/app/_rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment