commit | e2bd09d5285ca1c85889227925f313100dba2b7e | [log] [tgz] |
---|---|---|
author | Ross Wang <rosswang@google.com> | Mon Oct 26 16:56:55 2015 -0700 |
committer | Ross Wang <rosswang@google.com> | Mon Oct 26 17:00:08 2015 -0700 |
tree | f404a0c3054df2fa30f625973fdd6a0f142a8d8e | |
parent | d83ac7ed9534e43b99b3930fef52238816842494 [diff] |
Fixing presubmit Exact reason this started failing spontaneously is unclear. However, the failing behavior is transitional anyway and will be removed once the Travel app is fully integrated with Syncbase watch, and the last set of changes I made to the mock made the 'memory' flag on the update even unwarranted anyway. Change-Id: Ife3e84ccc3553a88a1523a64c5a067f7a052d8f2
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>