commit | 08f11026053f82dd5a5e836c69429f1139fa43c7 | [log] [tgz] |
---|---|---|
author | Ross Wang <rosswang@google.com> | Fri Aug 14 19:09:51 2015 -0700 |
committer | Ross Wang <rosswang@google.com> | Wed Sep 09 11:13:13 2015 -0700 |
tree | a078759f6851c0a1153ac1ee86d505d93130cecd | |
parent | bc689ac630ea4c7db75288faffa7546f00d965f4 [diff] |
First pass of working invitations Added dump debug method Adding per-trip sync groups (TODO: lazy create these) Adding SyncGroup deletion wrapper (unused now) Removing per-sycngroup sgmt instances (significant performance improvement) Change-Id: Ie8bf588f7e08feff09c6577b2dc5d6bfe380ef96
An example travel planner 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.
In order to run the local syncbase instance via make bootstrap
or related targets, you will need to ensure that the standard Vanadium binaries have been built by running:
v23 go install v.io/...
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 bootstrap
or
make boostrap port=<syncbase port>
Related targets:
make creds make syncbase [port=<syncbase port>]
To run a local dev server use:
make start
If you would like to change the port that is used:
make start port=<port>
To connect to a syncbase instance other than the default, navigate to:
localhost:<server port>
or
localhost:<server port>/?syncbase=<syncbase port>