Get started with Plone + AngularJS (Yeoman powered) without any of the normal headaches associated with a manual setup.
Useful when you want to develop a single page web applications powered by Angular using Plone as backend.
Before installing collective.angularstarter you need to:
- # install nodejs (suggested way NVM)
- $ npm install -g grunt-cli bower
- $ cd collective.angularstarter/collective/angularstarter/browser/angular
- $ bower install
- $ npm install
- $ grunt build
After that install the collective.angularstarter plugin and choose the more appropriate install profile:
- :default -> for production (htmlmin, image minification, concat+uglify/cssmin, uncss, cdnify)
- :devel -> suitable for development
Now you can visit your AngularJS single page web application:
You can extend this project and then clone it with:
$ VENV/bin/collective_angularstarter_clone your.awesomeplugin
- test production vs devel layers
- makefile for init project
- for further details see http://davidemoro.blogspot.com/2014/09/plone-angularjs-yeoman-starter.html
- Davide Moro <[email protected]> | @davidemoro | http://davidemoro.blogspot.it/