OLD | NEW |
1 .. _devcycle-running: | 1 .. _devcycle-running: |
2 | 2 |
3 :template: standard_nacl_api | |
4 | |
5 ####### | 3 ####### |
6 Running | 4 Running |
7 ####### | 5 ####### |
8 | 6 |
9 | 7 |
10 .. contents:: | 8 .. contents:: |
11 :local: | 9 :local: |
12 :backlinks: none | 10 :backlinks: none |
13 :depth: 2 | 11 :depth: 2 |
14 | 12 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 application, including all application assets and metadata, to the CWS. | 58 application, including all application assets and metadata, to the CWS. |
61 | 59 |
62 It's clearly not convenient to package and upload files to the Chrome Web Store | 60 It's clearly not convenient to package and upload files to the Chrome Web Store |
63 every time you want to run a new build of your application, but there are four | 61 every time you want to run a new build of your application, but there are four |
64 alternative techniques you can use to run the application during development. | 62 alternative techniques you can use to run the application during development. |
65 These techniques are listed in the following table and described in detail | 63 These techniques are listed in the following table and described in detail |
66 below. Each technique has certain requirements (NaCl flag, web server, and/or | 64 below. Each technique has certain requirements (NaCl flag, web server, and/or |
67 CWS metadata); these are explained in the :ref:`Requirements <requirements>` | 65 CWS metadata); these are explained in the :ref:`Requirements <requirements>` |
68 section below. | 66 section below. |
69 | 67 |
70 .. list-table:: | |
71 :header-rows: 1 | |
72 | 68 |
73 * - # | 69 +--------------------------------------------------------+----------+----------+ |
74 - Technique | 70 | Technique | Requires | Requires | |
75 - Requires NaCl flag | 71 | | Web | CWS | |
76 - Requires Web Server | 72 | | Server | Metadata | |
77 - Requires CWS Metadata | 73 +========================================================+==========+==========+ |
78 - Description | 74 |**1. Local server** | |CHK| | | |
79 * - 1 | 75 | | | | |
80 - Local server | 76 | .. | | | |
81 - |CHK| | 77 | | | | |
82 - |CHK| | 78 | Run a local server and simply point your browser to | | | |
83 - | 79 | your application on the server. | | | |
84 - Run a local server and simply point your browser to your application on | 80 | | | | |
85 the server. | 81 | .. Note:: | | | |
86 * - 2 | 82 | :class: note | | | |
87 - Packaged application loaded as an unpacked extension | 83 | | | | |
88 - | 84 | This technique requires the NaCl flag. | | | |
89 - | 85 +---------------------------------------------+----------+----------+----------+ |
90 - |CHK| | 86 |**2. Packaged application loaded as an unpacked | | |CHK| | |
91 - Load your packaged application into Chrome as an unpacked extension and | 87 |extension** | | | |
92 run it without a server. An unpacked extension is simply an application | 88 | | | | |
93 whose source and metadata files are located in a plain (unzipped) folder | 89 | .. | | | |
94 on your development machine. The CWS manifest file (explained below) must | 90 | | | | |
95 specify a ``local_path`` field. | 91 | Load your packaged application into Chrome as an | | | |
96 * - 3 | 92 | unpacked extension and run it without a server. An | | | |
97 - Hosted application loaded as an unpacked extension | 93 | unpacked extension is an application whose source and | | | |
98 - | 94 | metadata files are located in an unzipped folder on | | | |
99 - |CHK| | 95 | your development machine. The CWS manifest file | | | |
100 - |CHK| | 96 | (explained below) must specify a local_path field. | | | |
101 - Load your hosted application into Chrome as an unpacked extension and run | 97 +--------------------------------------------------------+----------+----------+ |
102 it from a server (which can be a local server). The CWS manifest file | 98 |**3. Hosted application loaded as an unpacked | |CHK| | |CHK| | |
103 must specify a ``web_url`` field. | 99 |extension** | | | |
104 * - 4 | 100 | | | | |
105 - CWS application with untrusted testers | 101 | .. | | | |
106 - | 102 | | | | |
107 - | 103 | Load your hosted application into Chrome as an | | | |
108 - |CHK| | 104 | unpacked extension and run it from a server (which can| | | |
109 - This is the standard technique for distributing a packaged or hosted | 105 | be a local server). The CWS manifest file must specify| | | |
110 application in the CWS, but you can limit the application to a few | 106 | a web_url field. | | | |
111 trusted testers. This technique requires a server if your application is | 107 +--------------------------------------------------------+----------+----------+ |
112 a hosted application. | 108 |**4. CWS application with untrusted testers** | | |CHK| | |
| 109 | | | | |
| 110 | .. | | | |
| 111 | | | | |
| 112 | The standard technique for distributing a packaged or | | | |
| 113 | hosted application in the CWS. You can limit the | | | |
| 114 | application to trusted testers. This technique | | | |
| 115 | requires a server if your application is a hosted | | | |
| 116 | application. | | | |
| 117 +--------------------------------------------------------+----------+----------+ |
| 118 |
113 | 119 |
114 .. |CHK| image:: /images/check-red.png | 120 .. |CHK| image:: /images/check-red.png |
115 | 121 |
116 Which of the above techniques you use to run your application during development | 122 Which of the above techniques you use to run your application during development |
117 is largely a matter of personal preference (i.e., would you rather start a local | 123 is largely a matter of personal preference (i.e., would you rather start a local |
118 server or create CWS metadata?). As a general rule, once you have an idea of how | 124 server or create CWS metadata?). As a general rule, once you have an idea of how |
119 you plan to distribute your application, you should use the corresponding | 125 you plan to distribute your application, you should use the corresponding |
120 technique during development. Choosing a distribution option depends on a number | 126 technique during development. Choosing a distribution option depends on a number |
121 of factors such as application size, application start-up time, hosting costs, | 127 of factors such as application size, application start-up time, hosting costs, |
122 offline functionality, etc. (see :doc:`Distributing Your Application | 128 offline functionality, etc. (see :doc:`Distributing Your Application |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 be able to find the application by searching in the CWS. | 471 be able to find the application by searching in the CWS. |
466 | 472 |
467 To publish an application to the world after publishing it to test accounts, | 473 To publish an application to the world after publishing it to test accounts, |
468 you must first unpublish the application. For additional information see | 474 you must first unpublish the application. For additional information see |
469 `Publishing Your App </webstore/docs/publish>`_, and in particular `Publishing | 475 `Publishing Your App </webstore/docs/publish>`_, and in particular `Publishing |
470 to test accounts </webstore/publish#testaccounts>`_. | 476 to test accounts </webstore/publish#testaccounts>`_. |
471 | 477 |
472 .. |menu-icon| image:: /images/menu-icon.png | 478 .. |menu-icon| image:: /images/menu-icon.png |
473 .. |extensions| image:: /images/extensions-management.png | 479 .. |extensions| image:: /images/extensions-management.png |
474 .. |new-tab-apps| image:: /images/new-tab-apps.png | 480 .. |new-tab-apps| image:: /images/new-tab-apps.png |
OLD | NEW |