commit | d6c1e13220f46f35cde31d94d1ffb38c3b97bed7 | [log] [tgz] |
---|---|---|
author | Ali Ghassemi <aghassemi@google.com> | Mon Sep 14 09:30:10 2015 -0700 |
committer | Ali Ghassemi <aghassemi@google.com> | Mon Sep 14 09:30:10 2015 -0700 |
tree | 013dac2bd90698464129f0057c71bfc2ec5e217c | |
parent | cf6929e873612d7a0c4a82e26d67629d468e8c16 [diff] |
reader: Picking up breaking JS API changes from http://v.io/c/15404 Plus fixing some breaking changes from other dependencies. MultiPart: 9/10 Change-Id: I046da6cfe4537e98fcd841d7b1401b2b29515237
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>
Run syncbase with:
make syncbase
This will automatically have you set up credentials etc. If you want to remove stored data & credentials use:
make clean