Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.11 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.11 KB

Test App for WebBluetooth APIs of Firefox OS

How to install

  1. Clone the project and build it.
$> git clone https://github.com/fxos-bt-squad/webbluetooth-test-app path/to/webbluetooth-test-app
  1. Build the app.
$> cd path/to/webbluetooth-test-app
$> npm install
$> ./node_modules/bower/bin/bower install
  1. Symbolically link path/to/webbluetooth-test-app into path/to/gaia/outoftree_apps folder.
$> cd path/to/gaia
$> mkdir outoftree_apps  # create outoftree_apps folder if you don't have one
$> cd outoftree_apps
$> ln -s path/to/webbluetooth-test-app webbluetooth-test-app
  1. Build gaia in engineer build, you'll have this app installed in your runtime or device.

Development

  • Prerequisite

  • Install dependency node.js modules.

$> npm install
  • Downloads dependency bower packages.
$> ./node_modules/bower/bin/bower install
  • Lint source codes.
$> ./node_modules/gulp/bin/gulp lint

Reference

WebBluetooth-v2 wiki