OLD | NEW |
1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
2 | 2 |
3 <section id="running"> | 3 <section id="running"> |
4 <span id="devcycle-running"></span><h1 id="running"><span id="devcycle-running">
</span>Running</h1> | 4 <span id="devcycle-running"></span><h1 id="running"><span id="devcycle-running">
</span>Running</h1> |
5 <div class="contents local" id="contents" style="display: none"> | 5 <div class="contents local" id="contents" style="display: none"> |
6 <ul class="small-gap"> | 6 <ul class="small-gap"> |
7 <li><a class="reference internal" href="#introduction" id="id5">Introduction</a>
</li> | 7 <li><a class="reference internal" href="#introduction" id="id5">Introduction</a>
</li> |
8 <li><a class="reference internal" href="#portable-native-client-pnacl-applicatio
ns" id="id6">Portable Native Client (PNaCl) applications</a></li> | 8 <li><a class="reference internal" href="#portable-native-client-pnacl-applicatio
ns" id="id6">Portable Native Client (PNaCl) applications</a></li> |
9 <li><a class="reference internal" href="#native-client-applications-and-the-chro
me-web-store" id="id7">Native Client applications and the Chrome Web Store</a></
li> | 9 <li><a class="reference internal" href="#native-client-applications-and-the-chro
me-web-store" id="id7">Native Client applications and the Chrome Web Store</a></
li> |
10 <li><p class="first"><a class="reference internal" href="#prerequisites" id="id8
">Prerequisites</a></p> | 10 <li><p class="first"><a class="reference internal" href="#prerequisites" id="id8
">Prerequisites</a></p> |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 listed in the table above (NaCl flag, web server, and CWS metadata). The | 151 listed in the table above (NaCl flag, web server, and CWS metadata). The |
152 subsequent sections of the document provide instructions for how to use each of | 152 subsequent sections of the document provide instructions for how to use each of |
153 the four techniques.</p> | 153 the four techniques.</p> |
154 <h2 id="prerequisites">Prerequisites</h2> | 154 <h2 id="prerequisites">Prerequisites</h2> |
155 <h3 id="browser-and-pepper-versions">Browser and Pepper versions</h3> | 155 <h3 id="browser-and-pepper-versions">Browser and Pepper versions</h3> |
156 <p>Before you run a new build of your application, make sure that you’re u
sing the | 156 <p>Before you run a new build of your application, make sure that you’re u
sing the |
157 correct version of Chrome. Each version of Chrome supports a corresponding | 157 correct version of Chrome. Each version of Chrome supports a corresponding |
158 version of the Pepper API. You (and your users) must use a version of Chrome | 158 version of the Pepper API. You (and your users) must use a version of Chrome |
159 that is equal to or higher than the version of the Pepper API that your | 159 that is equal to or higher than the version of the Pepper API that your |
160 application uses. For example, if you compiled your application using the | 160 application uses. For example, if you compiled your application using the |
161 <code>pepper_31</code> bundle, your application uses the Pepper 31 API, and you
must run | 161 <code>pepper_37</code> bundle, your application uses the Pepper 37 API, and you
must run |
162 the application in Chrome 31 or higher. To check which version of Chrome youR
17;re | 162 the application in Chrome 37 or higher. To check which version of Chrome youR
17;re |
163 using, type <code>about:version</code> in the Chrome address bar.</p> | 163 using, type <code>about:version</code> in the Chrome address bar.</p> |
164 <h3 id="chrome-cache"><span id="cache"></span>Chrome Cache</h3> | 164 <h3 id="chrome-cache"><span id="cache"></span>Chrome Cache</h3> |
165 <p>Chrome caches resources aggressively. You should disable Chrome’s cache
whenever | 165 <p>Chrome caches resources aggressively. You should disable Chrome’s cache
whenever |
166 you are developing a Native Client application in order to make sure Chrome | 166 you are developing a Native Client application in order to make sure Chrome |
167 loads new versions of your application. Follow the instructions <a class="refere
nce internal" href="/native-client/devguide/tutorial/tutorial-part1.html#tutoria
l-step-3"><em>in the | 167 loads new versions of your application. Follow the instructions <a class="refere
nce internal" href="/native-client/devguide/tutorial/tutorial-part1.html#tutoria
l-step-3"><em>in the |
168 tutorial</em></a>.</p> | 168 tutorial</em></a>.</p> |
169 <h2 id="requirements"><span id="id1"></span>Requirements</h2> | 169 <h2 id="requirements"><span id="id1"></span>Requirements</h2> |
170 <h3 id="native-client-flag"><span id="flag"></span>Native Client flag</h3> | 170 <h3 id="native-client-flag"><span id="flag"></span>Native Client flag</h3> |
171 <p>Native Client is automatically enabled for applications that are installed fr
om | 171 <p>Native Client is automatically enabled for applications that are installed fr
om |
172 the Chrome Web Store. To enable Native Client for applications that are not | 172 the Chrome Web Store. To enable Native Client for applications that are not |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 <li>Start a web server to serve your application.<ul class="small-gap"> | 322 <li>Start a web server to serve your application.<ul class="small-gap"> |
323 <li>You can use the <a class="reference internal" href="#web-server"><em>local w
eb server</em></a> included with the | 323 <li>You can use the <a class="reference internal" href="#web-server"><em>local w
eb server</em></a> included with the |
324 Native Client SDK if you want.</li> | 324 Native Client SDK if you want.</li> |
325 </ul> | 325 </ul> |
326 </li> | 326 </li> |
327 <li>Upload your application (.html, .nmf, .nexe, .css, .js, image files, etc.) | 327 <li>Upload your application (.html, .nmf, .nexe, .css, .js, image files, etc.) |
328 to the server.<ul class="small-gap"> | 328 to the server.<ul class="small-gap"> |
329 <li>If you’re using the local server included with the Native Client SDK, | 329 <li>If you’re using the local server included with the Native Client SDK, |
330 simply put your application under the <code>examples</code> directory in the SDK | 330 simply put your application under the <code>examples</code> directory in the SDK |
331 bundle you are using (e.g., in the directory | 331 bundle you are using (e.g., in the directory |
332 <code>pepper_31/examples/my_app</code>).</li> | 332 <code>pepper_37/examples/my_app</code>).</li> |
333 </ul> | 333 </ul> |
334 </li> | 334 </li> |
335 <li>Create a Chrome Web Store manifest file and one or more icons for your | 335 <li>Create a Chrome Web Store manifest file and one or more icons for your |
336 application.<ul class="small-gap"> | 336 application.<ul class="small-gap"> |
337 <li>Follow the instructions above under <a class="reference internal" href="#met
adata"><em>Chrome Web Store metadata</em></a> to create these files.</li> | 337 <li>Follow the instructions above under <a class="reference internal" href="#met
adata"><em>Chrome Web Store metadata</em></a> to create these files.</li> |
338 <li>In the CWS manifest file, the <code>web_url</code> field should specify the | 338 <li>In the CWS manifest file, the <code>web_url</code> field should specify the |
339 location of your application on your server. If you’re using the local | 339 location of your application on your server. If you’re using the local |
340 server included with the SDK, the <code>web_url</code> field should look somethi
ng | 340 server included with the SDK, the <code>web_url</code> field should look somethi
ng |
341 like <code>http://localhost:5103/my_app/my_app_main_page.html</code>.</li> | 341 like <code>http://localhost:5103/my_app/my_app_main_page.html</code>.</li> |
342 </ul> | 342 </ul> |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 </ul> | 436 </ul> |
437 </li> | 437 </li> |
438 </ol> | 438 </ol> |
439 <p>To publish an application to the world after publishing it to test accounts, | 439 <p>To publish an application to the world after publishing it to test accounts, |
440 you must first unpublish the application. For additional information see | 440 you must first unpublish the application. For additional information see |
441 <a class="reference external" href="/webstore/docs/publish">Publishing Your App<
/a>, and in particular <a class="reference external" href="/webstore/publish#tes
taccounts">Publishing | 441 <a class="reference external" href="/webstore/docs/publish">Publishing Your App<
/a>, and in particular <a class="reference external" href="/webstore/publish#tes
taccounts">Publishing |
442 to test accounts</a>.</p> | 442 to test accounts</a>.</p> |
443 </section> | 443 </section> |
444 | 444 |
445 {{/partials.standard_nacl_article}} | 445 {{/partials.standard_nacl_article}} |
OLD | NEW |