This is a demo project to learn Angular and Gulp
This is a project started as a scrachpad applicaiton to start wetting my hands on Angular JS and with my intrest growing day by day on this I felt like there is more to do and started deploying my application in the Cloud platform for me to playaround.
The running version can be found at, http://demo-venkatvp.rhcloud.com
localstorage and maintain some persistant data.Please feel free to fork and suggest improvements.
If you dont have gulp and bower installed globally before please do this.
npm install -g gulp bower This is required to be done if the package.json is updated antime.
npm installTo start developing in the project run:
gulp serveThen head to http://localhost:3000 in your browser.
The serve tasks starts a static file server, which serves the AngularJS application, and a watch task which watches all files for changes and lints, builds and injects them into the index.html accordingly.
To run tests run:
gulp testOr first inject all test files into karma.conf.js with:
gulp karma-confThen you're able to run Karma directly. Example:
karma start --single-runTo make the app ready for deploy to production run:
gulp distNow there's a ./dist folder with all scripts and stylesheets concatenated and minified, also third party libraries installed with bower will be concatenated and minified into vendors.min.js and vendors.min.css respectively.