AYP is designed to create and build Mobile Apps using AngularJS with the help of Yeoman.
AYP provides a basic angular seed app in AngularJS wrapped around Phonegap, solely for Mobile app development.
I have been looking for generators on Yeoman.com for phonegap+Angular but was never able to find a one which worked well for me (other than that they are really good :) ). So, I found a 1 step solution to develop and build ANGULAR+PHONEGAP using YEOMAN without using generators.
Windows
Download from here https://nodejs.org/en/download/
Mac
- Install Brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install node
brew install node
Using AYP is dead simple! Clone the repo to the folder you about to use for development. Run,
git clone https://github.com/jeremyrajan/Angular-Phonegap.git .
sh init.sh
=> This will create phonegap app with angular seed app using Yeoman
You can delete init.sh, after you have initialised the app (if needed).
For building the app to "www" with "phonegap". Run,
sh build.sh
=> This will build the app to 'www' directory with minifications and optimisations necessary.
That's it! You are ready to deploy...
Please let me know if any clarifications, at jeremyrajan[at]gmail.com
Contributions and suggestions are always welcome.