commit | 33bcb5cb21d7ebf8cb99bfbb545647a3cdb8b566 | [log] [tgz] |
---|---|---|
author | Ross Wang <rosswang@google.com> | Fri Oct 09 14:20:56 2015 -0700 |
committer | Ross Wang <rosswang@google.com> | Fri Oct 09 16:30:13 2015 -0700 |
tree | 370beeb072122eed309b58d2b650337481058a1d | |
parent | c1d742094a7761b93bc2a02ddf598917505bcf69 [diff] |
Stubbing Android vector This is mostly Android Bootcamp material adapted for the Travel App. It contains very little actual Travel App logic. Change-Id: Ic514832c5a8febfc76923db14d11201d7747756c
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>