OLD | NEW |
1 GoNaCl App Engine | 1 GoNaCl App Engine |
2 ================= | 2 ================= |
3 | 3 |
4 This is a new App Engine Python 2.7 application for http://gonacl.com | 4 This is a new App Engine Python 2.7 application for http://gonacl.com |
5 | 5 |
6 At this time it presents the existing functionality of redirecting | 6 At this time it presents the existing functionality of redirecting |
7 to http://developers.google.com/native-client/ | 7 to http://developers.google.com/native-client/ |
8 | 8 |
9 Also, there are PNaCl demos added at ``/static/pnacl-demo-<name>/index.html`` | 9 Also, there are PNaCl demos added at ``/static/pnacl-demo-<name>/index.html`` |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 Or by using gsutil:: | 51 Or by using gsutil:: |
52 | 52 |
53 $ gsutil ls gs://gonacl/demos/continuous/ | 53 $ gsutil ls gs://gonacl/demos/continuous/ |
54 | 54 |
55 3. Use 'make publish REVISION=<REV>' in the ``src`` directory to publish the | 55 3. Use 'make publish REVISION=<REV>' in the ``src`` directory to publish the |
56 revision. | 56 revision. |
57 | 57 |
58 4. Update the URLs to use this new revision in each demo's JavaScript files: | 58 4. Update the URLs to use this new revision in each demo's JavaScript files: |
59 | 59 |
60 * For ``earth``, this is found in ``/static/pnacl-demo-earth/example.js``, in | 60 Please see the following table for the location of the revision number to |
61 the ``getDataURL`` function. | 61 modify. |
62 * For ``bullet``, this is found in ``/static/pnacl-demo-bullet/main.js``, in | 62 |
63 the ``pageDidLoad`` function. | 63 ========== ======================================== =========== |
64 * For ``lua``, this is found in ``/static/pnacl-demo-lua/lua.js``. | 64 Demo File Function |
| 65 ========== ======================================== =========== |
| 66 bullet /static/pnacl-demo-bullet/main.js pageDidLoad |
| 67 cube /static/pnacl-demo-cube/example.js getDataURL |
| 68 earth /static/pnacl-demo-earth/example.js getDataURL |
| 69 life /static/pnacl-demo-life/example.js getDataURL |
| 70 lua /static/pnacl-demo-lua/lua.js |
| 71 smoothlife /static/pnacl-demo-smoothlife/example.js getDataURL |
| 72 voronoi /static/pnacl-demo-voronoi/example.js getDataURL |
65 | 73 |
66 5. Land a CL with these changes. | 74 5. Land a CL with these changes. |
67 | 75 |
68 6. Update App Engine, using the instructions above. | 76 6. Update App Engine, using the instructions above. |
OLD | NEW |