commit | d9e09e73e9eba937a8e0be850e09202aa4f7f506 | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Thu Sep 24 21:52:14 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Sep 24 21:52:14 2015 +0000 |
tree | 98dd80767d7c563d9c47b54aedcf6034b54f4374 | |
parent | 9f2866509f8f2d4acd4d686d4d2f5e6dbd2a9544 [diff] | |
parent | 62d26332275ff8b93818821a56a05a1d342c9f87 [diff] |
Merge "TBR: reader: Replace V23_ROOT with JIRI_ROOT everywhere."
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