Jeff Burke | e29f2af | 2012-12-08 12:15:22 -0800 | [diff] [blame] | 1 | NDN.JS: A javascript client library for Named Data Networking |
Jeff Burke | 0f418d0 | 2012-12-08 12:14:41 -0800 | [diff] [blame] | 2 | |
Jeff Burke | e29f2af | 2012-12-08 12:15:22 -0800 | [diff] [blame] | 3 | BASIC LIBRARY: NO BUILD REQUIRED. |
| 4 | The basic NDN.JS library and the WebSockets proxy do not need to be "built". For the |
| 5 | library, you can manually include the necessary scripts in a web page or include Helper.js |
| 6 | to have it load all of the scripts. |
Jeff Burke | 0f418d0 | 2012-12-08 12:14:41 -0800 | [diff] [blame] | 7 | |
| 8 | BUILD A COMBINED, COMPRESSED LIBRARY. |
Jeff Burke | e29f2af | 2012-12-08 12:15:22 -0800 | [diff] [blame] | 9 | A more efficient way to include the library is to used the combined, compressed library |
| 10 | ndn-js.js that can be made using the js/tools/build/make-js.sh script. See the README in |
| 11 | that directly. While we try to keep a built version in that directory for convenience, it |
| 12 | may fall out of sync with the library, so we recommend building it using the script if |
| 13 | possible. |
| 14 | |
| 15 | WEBSOCKETS PROXY. |
| 16 | If you wish to run your own WebSockets proxy instead of using the NDN testbed, you must |
| 17 | build and install Node.js (often on the machine also running the ccnd you wish to proxy |
| 18 | for, but that doesn't have to be the case). |
Jeff Burke | 0f418d0 | 2012-12-08 12:14:41 -0800 | [diff] [blame] | 19 | |
| 20 | THE FIREFOX PLUG-IN. |
| 21 | [Instructions to come.] |
| 22 | |
| 23 | |
| 24 | |