commit | 9f2866509f8f2d4acd4d686d4d2f5e6dbd2a9544 | [log] [tgz] |
---|---|---|
author | Adam Sadovsky <asadovsky@gmail.com> | Wed Sep 23 16:50:42 2015 -0700 |
committer | Adam Sadovsky <asadovsky@gmail.com> | Wed Sep 23 16:50:42 2015 -0700 |
tree | ce342968bea64c8d2f2b0f499528cfcdf0741454 | |
parent | 016b42586f8b49cb45faeb529bde6b45a7ac0655 [diff] |
syncbase: new naming scheme see v.io/c/15923 for full description MultiPart: 8/8 Change-Id: Ia5740b25b48a2375868b84457b8c43847017d266
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