commit | 14a802d74f197b2d2433f0e762e2f61058075da7 | [log] [tgz] |
---|---|---|
author | Jason Campbell <jasoncampbell@google.com> | Mon Jul 27 11:57:10 2015 -0700 |
committer | Jason Campbell <jasoncampbell@google.com> | Mon Jul 27 11:57:21 2015 -0700 |
tree | de935cff99acd7984d3d6ff8562e315cc3b53163 | |
parent | 6cd8ba75905fd12ba55369ef57742d73e6f59645 [diff] |
reader: refactors local Vanadium peer discovery. Cleans up discovery code and the way vanadium module calls are coupled to application state. * Skips example component test (until real ones can be added). * Updates make all to be silent on success. * Adds dependency-check to the lint task. SEE: #3 Change-Id: I4740a0d3d479c8ce784366b5a5c8ab5b7ffac58d
An example PDF reader using Vanadium.
If you have a $V23_ROOT
setup you can install Node.js from $V23_ROOT/third_party
by running:
v23 profile install nodejs
Optionally, it is possible to use your own install of Node.js if you would like to use a more recent version.
The Makefile is setup to handle all dependencies once Node.js is installed. The default make task will install any modules listed in the package.json
and build a browser bundle from browser/index.js
via browserify.
make
It is possible to have the build happen automatically anytime a JavaScript file changes using the watch tool:
watch make
To run a local dev server use:
make start
If you would like to change the host and or port that is used:
make start port=<port> host=<host>