https://github.com/stempler/angular-sample
https://github.com/stempler/angular-sample
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stempler/angular-sample
- Owner: stempler
- Created: 2015-10-07T09:12:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-06T13:50:06.000Z (over 9 years ago)
- Last Synced: 2025-02-09T16:38:47.445Z (4 months ago)
- Language: JavaScript
- Size: 660 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intial setup
Node.js / npm must be installed.
```
npm install -g grunt-cli yo bower
npm install
bower install
```# Serving the application
Run the following command to make the application available at http://localhost:9001
```
grunt serve
```# Running unit tests
To run the Jasmine unit tests using Karma, use this command:
```
grunt test
```# Extend the application
The easiest way to extend the application with new Angular components is to use Yeoman. First, install the *cg-angular* generator:
```
npm install -g generator-cg-angular
```In the project folder use a command like this to create a **module**, **service**, **directive**, **filter**, **partial** or **modal**:
```
yo cg-angular:service my-service
```See also https://github.com/cgross/generator-cg-angular