commit | 1a54ca5828ac118aff3b504abbf206d88b3a0b2b | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Fri Sep 11 17:49:09 2015 -0700 |
committer | Todd Wang <toddw@google.com> | Fri Sep 11 17:49:09 2015 -0700 |
tree | 20dfe19fce6eacbb4fcb3134ea5293a5d9999b6b | |
parent | 208a346cacb4559a93b3c228161329675eee75cc [diff] |
TBR: reader: Prepare all repos for open-sourcing. The CONTRIBUTING file is added to all repos, and also added to the jiri-copyright tool so that repos can be automatically checked and fixed. I've run jiri copyright fix against all repos to fix up outstanding issues. MultiPart: 20/23 Change-Id: Ifc89070f4bce5d0b61cd357aa172bda09f5b0355
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