Skip to content

Commit cb5f0d1

Browse files
committed
update README with bower info
1 parent 2a74abc commit cb5f0d1

File tree

1 file changed

+31
-23
lines changed

1 file changed

+31
-23
lines changed

README.md

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ Clone the angular-socket-io-seed repository and start hacking!
2424

2525
Runs like a typical express app:
2626

27-
node app.js
27+
```shell
28+
node app.js
29+
```
2830

2931
### Running tests
3032

@@ -34,6 +36,14 @@ Coming soon!
3436

3537
Just fetch the changes and merge them into your project with git.
3638

39+
### Updating `angular.js`
40+
41+
Alternatively, you can update AngularJS with [Bower](http://bower.io):
42+
43+
```shell
44+
bower update angular
45+
```
46+
3747
## Example Application
3848

3949
I created a [simple instant messaging application](https://github.com/btford/angular-socket-io-im)
@@ -42,30 +52,28 @@ illustrate using the seed.
4252

4353
## Directory Layout
4454

45-
app.js --> app config
46-
package.json --> for npm
47-
public/ --> all of the files to be used in on the client side
48-
css/ --> css files
49-
app.css --> default stylesheet
50-
img/ --> image files
51-
js/ --> javascript files
52-
app.js --> declare top-level app module
53-
controllers.js --> application controllers
54-
directives.js --> custom angular directives
55-
filters.js --> custom angular filters
56-
services.js --> custom angular services
57-
lib/ --> angular and 3rd party JavaScript libraries
58-
angular/
59-
angular.js --> the latest angular js
60-
angular.min.js --> the latest minified angular js
61-
angular-*.js --> angular add-on modules
62-
version.txt --> version number
55+
app.js --> app config
56+
bower.json --> for bower
57+
package.json --> for npm
58+
public/ --> all of the files to be used in on the client side
59+
css/ --> css files
60+
app.css --> default stylesheet
61+
img/ --> image files
62+
js/ --> javascript files
63+
app.js --> declare top-level app module
64+
controllers.js --> application controllers
65+
directives.js --> custom angular directives
66+
filters.js --> custom angular filters
67+
services.js --> custom angular services
68+
bower_components/
69+
angular/ --> angular.js
70+
angular-socket-io/ --> socket.io adapter for angular
6371
routes/
64-
index.js --> route for serving HTML pages and partials
72+
index.js --> route for serving HTML pages and partials
6573
views/
66-
index.jade --> main page for app
67-
layout.jade --> doctype, title, head boilerplate
68-
partials/ --> angular view partials (partial jade templates)
74+
index.jade --> main page for app
75+
layout.jade --> doctype, title, head boilerplate
76+
partials/ --> angular view partials (partial jade templates)
6977
partial1.jade
7078
partial2.jade
7179

0 commit comments

Comments
 (0)