reader: adds rough vanadium support

* Closes #1

Change-Id: I45dd4c012857ea755697797a433e915f326f169a
9 files changed
tree: ce7dc249a98cc76707413ff656c0dd7c7c7a2dc4
  1. browser/
  2. public/
  3. .gitignore
  4. .v23ignore
  5. AUTHORS
  6. CONTRIBUTORS
  7. LICENSE
  8. Makefile
  9. package.json
  10. PATENTS
  11. README.md
  12. VERSION
README.md

Reader

An example PDF reader using Vanadium.

Development

Dependencies

If you have a $V23_ROOT setup you can install Node.js from $V23_ROOT/third_party by running:

v23 profile setup web

Optionally, it is possible to use your own install of Node.js if you would like to use a more recent version.

Building

The Makefile is setup to handle all dependencies once Node.js is installed. The default make task will install any modules listed in the package.json and build a browser bundle from browser/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

Running locally

To run a local dev server use:

make start

If you would like to change the host and or port that is used:

make start port=<port> host=<host>