Skip to content

Commit f04b1ca

Browse files
committed
README
1 parent ca30da8 commit f04b1ca

1 file changed

Lines changed: 29 additions & 12 deletions

File tree

README.md

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@ Please note, at this moment there is no difference in permissions for admin user
4848
- User management
4949
- Loading indicators [chieffancypants/angular-loading-bar](https://github.com/chieffancypants/angular-loading-bar)?
5050

51-
## Unit Testing using Karma/Jasmine
52-
53-
$ ```node_modules/.bin/karma start client/test/karma.conf.js```
54-
55-
INFO [karma]: Karma v0.12.31 server started at http://localhost:8080/
56-
INFO [launcher]: Starting browser PhantomJS
57-
INFO [PhantomJS 1.9.8 (Linux)]: Connected on socket aLJmRuSNUH2rPfpWgS3l with id 89641972
58-
PhantomJS 1.9.8 (Linux): Executed 1 of 1 SUCCESS (0.007 secs / 0.029 secs)
59-
60-
6151
## TODO:
6252

6353
- Permissions on user actions (non-admins cannot access advanced functions)
@@ -91,6 +81,12 @@ Installation depends on `node`/`npm` with `grunt` and `bower` installed globally
9181

9282
$ npm install -g bower grunt-cli
9383

84+
### The one-liner install (please create an [issue](https://github.com/beeman/loopback-angular-admin/issues/new) if this one does not work!)
85+
86+
git clone https://github.com/beeman/loopback-angular-admin.git && cd loopback-angular-admin && npm install && grunt build && npm start & grunt serve
87+
88+
### The steps above:
89+
9490
### Checkout the project:
9591

9692
git clone https://github.com/beeman/loopback-angular-admin.git
@@ -99,9 +95,18 @@ Installation depends on `node`/`npm` with `grunt` and `bower` installed globally
9995

10096
npm install
10197

102-
### Clone, install and run in a oneliner
98+
### Run grunt build:
99+
100+
grunt build
101+
102+
### Run npm start to start the API:
103103

104-
git clone https://github.com/beeman/loopback-angular-admin.git && cd loopback-angular-admin && npm install && npm start & grunt serve
104+
npm start
105+
106+
### Run gulp sreve to start the frontend:
107+
108+
gulp server
109+
105110

106111
## Running
107112

@@ -155,6 +160,18 @@ The GUI is built with [generator-angular](https://www.npmjs.org/package/generato
155160

156161
These should help you quickly add code to your project. Further details tailored to this project might follow in the future.
157162

163+
164+
## Unit Testing using Karma/Jasmine
165+
166+
$ node_modules/.bin/karma start client/test/karma.conf.js
167+
168+
INFO [karma]: Karma v0.12.31 server started at http://localhost:8080/
169+
INFO [launcher]: Starting browser PhantomJS
170+
INFO [PhantomJS 1.9.8 (Linux)]: Connected on socket aLJmRuSNUH2rPfpWgS3l with id 89641972
171+
PhantomJS 1.9.8 (Linux): Executed 1 of 1 SUCCESS (0.007 secs / 0.029 secs)
172+
173+
174+
158175
### Useful commits
159176

160177
These commits might be useful when extending the functionality.

0 commit comments

Comments
 (0)