commit | 9145f97996afe1d2a7136d0ee20061357edac58b | [log] [tgz] |
---|---|---|
author | Jason Campbell <jasoncampbell@google.com> | Mon Aug 24 15:04:35 2015 -0700 |
committer | Jason Campbell <jasoncampbell@google.com> | Tue Aug 25 16:23:14 2015 -0700 |
tree | c7f027d854623bca5b6f20afe9972734849487a1 | |
parent | 361018df4295a9849e7a0c15458b1b2d5521872c [diff] |
reader: adds PDF blob sync between peers * Adds ability to delete PDF files from local storage. * Converts to explicitly defined globals (makes testing easier). * Uncovered issues in core/js with back pressure https://v.io/c/14741 * Adds an empty favicon.ico * Changes local PDF storage to be content addressable by using a hash of the blob as the key. Closes #6 Change-Id: I70a91a6c877d73aaf0b4429c2dc86c1989b681b2
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>