OLD | NEW |
1 {{+bindTo:partials.standard_nacl_api}} | 1 {{+bindTo:partials.standard_nacl_api}} |
2 | 2 |
3 <section id="running"> | 3 <section id="running"> |
4 <h1 id="running">Running</h1> | 4 <h1 id="running">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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 <ul class="small-gap"> | 244 <ul class="small-gap"> |
245 <li><a class="reference external" href="/webstore/get_started_simple">Chrome Web
Store Tutorial: Getting Started</a></li> | 245 <li><a class="reference external" href="/webstore/get_started_simple">Chrome Web
Store Tutorial: Getting Started</a></li> |
246 <li><a class="reference external" href="/extensions/manifest">Chrome Web Store F
ormats: Manifest Files</a></li> | 246 <li><a class="reference external" href="/extensions/manifest">Chrome Web Store F
ormats: Manifest Files</a></li> |
247 </ul> | 247 </ul> |
248 <h2 id="technique-1-local-server">Technique 1: Local server</h2> | 248 <h2 id="technique-1-local-server">Technique 1: Local server</h2> |
249 <p>To run your application from a local server:</p> | 249 <p>To run your application from a local server:</p> |
250 <ul class="small-gap"> | 250 <ul class="small-gap"> |
251 <li>Enable the <a class="reference internal" href="#flag"><em>Native Client flag
</em></a> in Chrome.</li> | 251 <li>Enable the <a class="reference internal" href="#flag"><em>Native Client flag
</em></a> in Chrome.</li> |
252 <li>Start a <a class="reference internal" href="#web-server"><em>local web serve
r</em></a>.</li> | 252 <li>Start a <a class="reference internal" href="#web-server"><em>local web serve
r</em></a>.</li> |
253 <li>Put your application under the examples directory in the SDK bundle you are | 253 <li>Put your application under the examples directory in the SDK bundle you are |
254 using (e.g., in the directory <code>pepper_31/examples/my_app</code>).</li> | 254 using (for example, in the directory <code>pepper_35/examples/my_app</code>).</l
i> |
255 <li>Access your application on the local server by typing the location of its | 255 <li>Access your application on the local server by typing the location of its |
256 HTML file in Chrome, e.g.: | 256 HTML file in Chrome, for example: |
257 <code>http://localhost:5103/my_app/my_app_main_page.html</code>.</li> | 257 <code>http://localhost:5103/my_app/my_app_main_page.html</code>.</li> |
258 </ul> | 258 </ul> |
259 <aside class="note"> | 259 <aside class="note"> |
260 <strong>Note:</strong> You don’t have to use a local web server—you
can use another | 260 <strong>Note:</strong> You don’t have to use a local web server—you
can use another |
261 server if you already have one running. You must still enable the Native | 261 server if you already have one running. You must still enable the Native |
262 Client flag in order to run your application from the server. | 262 Client flag in order to run your application from the server. |
263 </aside> | 263 </aside> |
264 <h2 id="technique-2-packaged-application-loaded-as-an-unpacked-extension">Techni
que 2: Packaged application loaded as an unpacked extension</h2> | 264 <h2 id="technique-2-packaged-application-loaded-as-an-unpacked-extension">Techni
que 2: Packaged application loaded as an unpacked extension</h2> |
265 <p>For development purposes, Chrome lets you load a packaged application as an | 265 <p>For development purposes, Chrome lets you load a packaged application as an |
266 unpacked extension. To load and run your packaged application as an unpacked | 266 unpacked extension. To load and run your packaged application as an unpacked |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 </ul> | 418 </ul> |
419 </li> | 419 </li> |
420 </ol> | 420 </ol> |
421 <p>To publish an application to the world after publishing it to test accounts, | 421 <p>To publish an application to the world after publishing it to test accounts, |
422 you must first unpublish the application. For additional information see | 422 you must first unpublish the application. For additional information see |
423 <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 | 423 <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 |
424 to test accounts</a>.</p> | 424 to test accounts</a>.</p> |
425 </section> | 425 </section> |
426 | 426 |
427 {{/partials.standard_nacl_api}} | 427 {{/partials.standard_nacl_api}} |
OLD | NEW |