commit | 3cd823863c0d6e31ed25de18c9a05d7c1994e7da | [log] [tgz] |
---|---|---|
author | Jiri Simsa <jsimsa@google.com> | Fri Jul 10 20:12:01 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jul 10 20:12:20 2015 +0000 |
tree | a103015f77ecfbb0b637f3c253810e57cc338307 | |
parent | 3859c51cc78689920940e20311febb02e11e1195 [diff] | |
parent | c17ec1ab15a3b5561a82fbe0b88d1ce44dc14315 [diff] |
Merge "reader: replacing "profile install web" with "profile install nodejs""
An example PDF reader 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.
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
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>