TBR: travel: Remove .v23 from all .gitignore files.

MultiPart: 23/25

Change-Id: I8a579bbeb3eee62e5e15fa782505d8b42484e3be
1 file changed
tree: dc0883eafea189bb672266e987cfa3da60f2a025
  1. browser/
  2. common/
  3. gradle/
  4. src/
  5. tools/
  6. .gitignore
  7. .jshintignore
  8. .jshintrc
  9. AUTHORS
  10. build.gradle
  11. CONTRIBUTING.md
  12. CONTRIBUTORS
  13. gradlew
  14. gradlew.bat
  15. LICENSE
  16. Makefile
  17. package.json
  18. PATENTS
  19. README.md
  20. VERSION
README.md

Travel Planner

An example travel planner using Vanadium.

Dependencies

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.

Building

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

Running locally

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>