commit | 5427a755d1ba939ccecff023a2e9c79035ce4b1c | [log] [tgz] |
---|---|---|
author | Ali Ghassemi <aghassemi@google.com> | Fri Sep 04 09:19:01 2015 -0700 |
committer | Ali Ghassemi <aghassemi@google.com> | Fri Sep 04 09:19:01 2015 -0700 |
tree | 77f6d643a9206dcb64c6414715d324f6af500a30 | |
parent | 99ae847e2f2294ce169ea80a7c8f916bf5c2d301 [diff] |
reader: Adopting the new breaking changes in Syncbase API where db.createTable and db.deleteTable were deprecated in favour of table.create and table.destroy Also adding envify as dependency and fixing an issue with makefile I ran into. MultiPart: 6/8 Change-Id: I7869db09ad419862c10c2c20081d19b61b39bb38
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