commit | 59969ac7ba350aee6b42b438845ac0fe01540ef7 | [log] [tgz] |
---|---|---|
author | Nicolas LaCasse <nlacasse@google.com> | Tue Feb 10 17:48:11 2015 -0800 |
committer | Nicolas LaCasse <nlacasse@google.com> | Tue Feb 10 17:48:13 2015 -0800 |
tree | 2e7c1a2bf1c037391d2329c3a319871f7c1ba1e0 | |
parent | e6bb638806e32830c1647484a42d538c3d8d38f0 [diff] |
Get p2b browser to work again. You can now pipe data from shell to the browser! This CL: * Updates jspm, polymer, bower, and dependencies. * Uses jspm to link veyron from $VEYRON_ROOT (NOTE: This step is very slow, and currently runs every time you serve. I need to fix that.) * Removes unneeded code, like config.js and shame.js. * Updates the veyron-specific code to use the newer veyron.js apis. * Fix neighborhood view Change-Id: Id0a4c91cba0f3c9ad3ff07388f4d3aacb3f33635
P2B allows one to pipe anything from shell console to the browser. Data being piped to the browser then is displayed in a graphical and formatted way by a “viewer” Viewers are pluggable pieces of code that know how to handle and display a stream of data.
For example one can do:
echo "Hi!" | p2b google/p2b/jane/console
or
cat cat.jpg | p2b -binary google/p2b/jane/image
where google/p2b/jane is the Object name where p2b service is running in the browser. The suffix console or image specifies what viewer should be used to display the data.
Please see the help page inside the P2B application for detailed tutorials.
To build make
To run make start #Starts a web server at 8080
and then navigate to http://localhost:8080
To stop simply Ctrl-C the console that started it
To clean make clean