commit | b9ee70f6883cc89d29f45f9cb685b4d05874b2f6 | [log] [tgz] |
---|---|---|
author | Adam Sadovsky <asadovsky@gmail.com> | Wed Oct 07 22:22:28 2015 -0700 |
committer | Adam Sadovsky <asadovsky@gmail.com> | Wed Oct 07 22:22:28 2015 -0700 |
tree | 40897a5a519cfdb1d01201930ae5ea9c9ace69df | |
parent | bad6bf7e5c4b55cdf06b94142103e99c9a6516cf [diff] |
TBR: travel: syncbase: update apps to use new SyncGroupSpec API MultiPart: 6/6 Change-Id: I9af729c1eba742119f1934770c018a0fc8c56b4e
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 anytime 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>