commit | 62d26332275ff8b93818821a56a05a1d342c9f87 | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Thu Sep 17 11:27:39 2015 -0700 |
committer | Nicolas Lacasse <nlacasse@google.com> | Thu Sep 17 11:27:39 2015 -0700 |
tree | 7f46d934e568bde6ff269e62c38eb16da13eac06 | |
parent | 016b42586f8b49cb45faeb529bde6b45a7ac0655 [diff] |
TBR: reader: Replace V23_ROOT with JIRI_ROOT everywhere. MultiPart: 20/23 Change-Id: I772116a97b95279eda6886d92bc3ba26c1a56314
An example PDF reader using Vanadium.
If you have a $JIRI_ROOT
setup you can install Node.js from $JIRI_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