commit | 428ec559e3bc6b53be9244b119444b1ade408f2d | [log] [tgz] |
---|---|---|
author | James Ring <sjr@google.com> | Mon Nov 16 18:18:38 2015 -0800 |
committer | James Ring <sjr@google.com> | Mon Nov 16 18:18:38 2015 -0800 |
tree | 612499270524b0e3ca81a6645a8d55c9ab97e728 | |
parent | 94f75d139fa7623c48e581a067e6b05a59758a21 [diff] |
use released version of gradle vdl plugin Change-Id: I9421c09c961aa25996bef6a130b42db3e10b4961
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>