commit | c17ec1ab15a3b5561a82fbe0b88d1ce44dc14315 | [log] [tgz] |
---|---|---|
author | Jiri Simsa <jsimsa@google.com> | Wed Jul 08 13:46:53 2015 -0700 |
committer | Jiri Simsa <jsimsa@google.com> | Wed Jul 08 13:47:20 2015 -0700 |
tree | bb0064b19929278555d8054314fc1939cb918e8f | |
parent | efca912a6b7abb4ff8d6f75f8821b29280392d61 [diff] |
reader: replacing "profile install web" with "profile install nodejs" MultiPart: 2/6 Change-Id: Id92bbfc2ec1f4a24a9e506221f8b001908e36d0b
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>