https://github.com/intrepidpursuits/angularscaffold
Basic scaffold for building Angular apps, using Node tools
https://github.com/intrepidpursuits/angularscaffold
Last synced: about 1 year ago
JSON representation
Basic scaffold for building Angular apps, using Node tools
- Host: GitHub
- URL: https://github.com/intrepidpursuits/angularscaffold
- Owner: IntrepidPursuits
- Created: 2016-01-15T14:31:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T12:41:56.000Z (almost 10 years ago)
- Last Synced: 2025-02-03T14:46:21.712Z (over 1 year ago)
- Language: JavaScript
- Size: 20.4 MB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AngularScaffold
Basic scaffold for building Angular apps, using Node tools.
Pre-installation steps:
```
npm install -g bower
npm install -g jasmine
npm install -g jasmine-core
npm install -g karma
npm install -g gulp
npm install -g phantomjs-prebuilt
```
Note: you only need to do this once on a given machine. -g installs these tools globally.
Known problem: need to deal with the angular-html preprocessor somehow. Otherwise, this will cause problems if we try to test directives & template code.
Download this scaffold, then run:
```
npm install
bower install
```
Useful commands:
```
gulp: runs build & test
gulp build: copies source into dist
gulp test: runs karma (spec-running tool) & jshint (linter)
gulp autorun: starts a Node server, automatically runs gulp build when source changes, initiates auto-refresh in the browser when dist changes
```
autorun starts up a Node server, generally accessible by pointing your browser to localhost:8080
Note: gulp & gulp test will likely throw an error until you add some specs for it to run.