glepretre / angular-requirejs-ready

:house_with_garden: Starter app structure for projects using AngularJS + RequireJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angular-requirejs-ready

Starter app structure for projects using AngularJS + RequireJS.

Based on angular Best Practices published the 13th Feb. 2014 on AngularBlog

Dependencies

bower install

Tests dependencies


npm install

then

webdriver-manager update

Try it


###1. Start webserver:

scripts/web-server.js

or if you're feeling lazy

npm start

###2. Open browser and go to:

http://localhost:8000/e2e/index.html

Run tests


###1. Unit tests

scripts/unit-tests.sh

or

npm run-script unit

###2. e2e tests

Start webserver:

scripts/web-server.js

or if you're feeling lazy

npm start

Start selenium server (in another terminal):

webdriver-manager start

Then, in another terminal:

scripts/e2e-tests.sh

or

npm run-script e2e

Important: Don't move the mouse during the e2e tests, otherwise some will fail!

Building

make build

Library is built into dist/

About

:house_with_garden: Starter app structure for projects using AngularJS + RequireJS

License:MIT License


Languages

Language:JavaScript 95.9%Language:Shell 4.1%