rik / buddyup

BuddyUp demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

buddyup-ui

The UI repo for the buddy-up realtime support FirefoxOS app

Development Workflow

First, let's install the required dependencies. From the command line, run:

npm install
# https://github.com/gruntjs/grunt-cli#grunt-cli-
npm install -g grunt-cli

Once the above completes, run:

grunt

This will precompile the nunjucks templates, start up the server, and start watching for changes to either app.js or any of the templates in app/views/. If any of the templates changes, it will auto-reload them.

To access the app via a browser:

http://127.0.0.1:8000/app/index.html

To test on an real device, use the WebIDE built into Firefox (https://developer.mozilla.org/en-US/docs/Tools/WebIDE) NOTE: You still need to run grunt prior to launching the WebIDE.

Tests

To run unit tests, we use the Gaia infrastructure.

You need to fetch gaia and run the test server

./scripts/fetch-gaia.sh
./scripts/run-unit-test-server.sh

And in another shell,

./scripts/run-unit-tests.sh

About

BuddyUp demo

License:Mozilla Public License 2.0


Languages

Language:JavaScript 62.9%Language:CSS 26.1%Language:HTML 10.7%Language:Shell 0.2%