commit | 6e4365611d0ec742228262e6782f2fa581d82fef | [log] [tgz] |
---|---|---|
author | Ross Wang <rosswang@google.com> | Wed Jan 27 18:05:37 2016 -0800 |
committer | Ross Wang <rosswang@google.com> | Wed Jan 27 18:05:37 2016 -0800 |
tree | 7fd386891734b79418541d8363b5765b6658e32d | |
parent | b65ef375832d6648287f191b8feee677a3c8be99 [diff] |
Commenting NoExistError checks Change-Id: I76ba8c7014e853e6204f388ad7f3b9ea5c154de1
An example travel planner using Vanadium.
If you have a $JIRI_ROOT
setup you can install Node.js from $JIRI_ROOT/third_party
by running:
jiri 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 default make task will install any modules listed in the package.json
and build a browser bundle from src/index.js
via browserify.
make
It is possible to have the build happen automatically any time a JavaScript file changes using the watch tool:
watch make
Local instances require a blessed syncbase instance. To attain blessings and start syncbase, use:
make syncbase [creds=<creds subdir>] [port=<syncbase port>]
Related target:
make creds [creds=<creds subdir>]
You can similarly run with fresh creds or syncbase data via:
make clean-creds make clean-syncbase
To run a local dev server use:
make start [port=<port>]
To connect to a syncbase instance other than the default, navigate to:
localhost:<server port>/?syncbase=<syncbase name or port>