Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cminhho/angularexample
Reference application for AngularJS
https://github.com/cminhho/angularexample
Last synced: about 2 months ago
JSON representation
Reference application for AngularJS
- Host: GitHub
- URL: https://github.com/cminhho/angularexample
- Owner: cminhho
- Created: 2014-12-20T22:01:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-16T16:18:05.000Z (almost 10 years ago)
- Last Synced: 2023-02-27T11:15:54.901Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 3.47 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Example
## Requirements
- AngularJS 1.2.6
- [CodeMirror 4.3.x](https://github.com/marijnh/CodeMirror)
- ui-codemirror 0.1.6## Usage
You can get it from (https://github.com/chungminhho/AngularExample.git)
```sh
git clone https://github.com/chungminhho/AngularExample.git
```## Testing
We use Karma and jshint to ensure the quality of the code. The easiest way to run these checks is to use grunt:
```sh
npm install -g grunt-cli
npm install && bower install
grunt
```The karma task will try to open Firefox and Chrome as browser in which to run the tests. Make sure this is available or change the configuration in `test\karma.conf.js`
### Grunt Serve
We have one task to serve them all !
```sh
grunt serve
```It's equal to run separately:
* `grunt connect:server` : giving you a development server at [http://localhost:8000/](http://localhost:8000/).
* `grunt karma:server` : giving you a Karma server to run tests (at [http://localhost:9876/](http://localhost:9876/) by default). You can force a test on this server with `grunt karma:unit:run`.
* `grunt watch` : will automatically test your code and build your demo. You can demo generation with `grunt build:gh-pages`.