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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 server:</p> | 202 server:</p> |
203 <pre> | 203 <pre> |
204 $ cd examples | 204 $ cd examples |
205 $ make serve | 205 $ make serve |
206 </pre> | 206 </pre> |
207 <p>By default, the server listens for requests on port 5103. You can use the ser
ver | 207 <p>By default, the server listens for requests on port 5103. You can use the ser
ver |
208 to run most applications under the <code>examples</code> directory where you sta
rted the | 208 to run most applications under the <code>examples</code> directory where you sta
rted the |
209 server. For example, to run the <code>flock</code> example in the SDK, start the
server | 209 server. For example, to run the <code>flock</code> example in the SDK, start the
server |
210 and point your browser to <code>http://localhost:5103/demo/flock/</code>.</p> | 210 and point your browser to <code>http://localhost:5103/demo/flock/</code>.</p> |
211 <p>Some of the applications need special flags to Chrome, and must be run with t
he | 211 <p>Some of the applications need special flags to Chrome, and must be run with t
he |
212 <code>make run</code> command. See <a class="reference internal" href="/native-c
lient/sdk/examples.html#id1"><em>Run the SDK examples</em></a> for more details.
</p> | 212 <code>make run</code> command. See <a class="reference internal" href="/native-c
lient/sdk/examples.html#running-the-sdk-examples"><em>Run the SDK examples</em><
/a> for more details.</p> |
213 <h4 id="chrome-web-store-metadata"><span id="metadata"></span>Chrome Web Store m
etadata</h4> | 213 <h4 id="chrome-web-store-metadata"><span id="metadata"></span>Chrome Web Store m
etadata</h4> |
214 <p>Applications published in the Chrome Web Store must be accompanied by CWS | 214 <p>Applications published in the Chrome Web Store must be accompanied by CWS |
215 metadata; specifically, a Chrome Web Store manifest file named | 215 metadata; specifically, a Chrome Web Store manifest file named |
216 <code>manifest.json</code>, and at least one icon.</p> | 216 <code>manifest.json</code>, and at least one icon.</p> |
217 <p>Below is an example of a CWS manifest file for a <strong>hosted application</
strong>:</p> | 217 <p>Below is an example of a CWS manifest file for a <strong>hosted application</
strong>:</p> |
218 <pre class="prettyprint"> | 218 <pre class="prettyprint"> |
219 { | 219 { |
220 "name": "My NaCl App", | 220 "name": "My NaCl App", |
221 "description": "Simple game implemented using Native Client&quo
t;, | 221 "description": "Simple game implemented using Native Client&quo
t;, |
222 "version": "0.1", | 222 "version": "0.1", |
(...skipping 213 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 |