@@ -173,19 +173,22 @@ The following docs describe how you can test and develop this application furthe
173
173
174
174
### Installing Dependencies
175
175
176
- The application relies upon various Node.js tools , such as [ Bower ] [ bower ] , [ Karma ] [ karma ] and
177
- [ Protractor] [ protractor ] . You can install these by running:
176
+ The application relies upon various JS libraries , such as AngularJS and jQuery, and Node.js tools,
177
+ such as [ Karma ] [ karma ] and [ Protractor] [ protractor ] . You can install these by running:
178
178
179
179
```
180
180
npm install
181
181
```
182
182
183
- This will also run Bower, which will download the Angular files needed for the current step of the
184
- tutorial .
183
+ This will also download the AngularJS files needed for the current step of the tutorial and copy
184
+ them to ` app/lib ` .
185
185
186
186
Most of the scripts described below will run this automatically but it doesn't do any harm to run
187
187
it whenever you like.
188
188
189
+ * Note copying the AngularJS files from ` node_modules ` to ` app/lib ` makes it easier to serve the
190
+ files by a web server.*
191
+
189
192
### Running the Application during Development
190
193
191
194
- Run ` npm start ` .
@@ -228,7 +231,7 @@ If JDK is not already installed, you can download it [here][jdk-download].
228
231
229
232
```
230
233
app/ --> all the source code of the app (along with unit tests)
231
- bower_components /... --> 3rd party JS/CSS libraries, including Angular and jQuery
234
+ lib /... --> 3rd party JS/CSS libraries, including AngularJS and jQuery (copied over from `node_modules/`)
232
235
core/ --> all the source code of the core module (stuff used throughout the app)
233
236
checkmark/... --> files for the `checkmark` filter, including JS source code, specs
234
237
phone/... --> files for the `core.phone` submodule, including JS source code, specs
@@ -248,26 +251,23 @@ e2e-tests/ --> config and source files for e2e tests
248
251
protractor.conf.js --> config file for running e2e tests with Protractor
249
252
scenarios.js --> e2e specs
250
253
251
- node_modules/... --> development tools (fetched using `npm`)
254
+ node_modules/... --> 3rd party libraries and development tools (fetched using `npm`)
252
255
253
256
scripts/ --> handy scripts
254
257
private/... --> private scripts used by the AngularJS Team to maintain this repo
255
258
update-repo.sh --> script for pulling down the latest version of this repo (!!! DELETES ALL CHANGES YOU HAVE MADE !!!)
256
259
257
- bower.json --> Bower specific metadata, including client-side dependencies
258
260
karma.conf.js --> config file for running unit tests with Karma
259
261
package.json --> Node.js specific metadata, including development tools dependencies
260
262
package-lock.json --> Npm specific metadata, including versions of installed development tools dependencies
261
263
```
262
264
263
-
264
265
## Contact
265
266
266
267
For more information on AngularJS, please check out https://angularjs.org/ .
267
268
268
269
269
270
[ angular-seed ] : https://github.com/angular/angular-seed
270
- [ bower ] : http://bower.io/
271
271
[ git-home ] : https://git-scm.com/
272
272
[ git-setup ] : https://help.github.com/articles/set-up-git
273
273
[ google-phone-gallery ] : http://web.archive.org/web/20131215082038/http://www.android.com/devices
0 commit comments