Angular Webapp Scaffolded by Yeoman
This might be the stack you are looking for:
It deploys on cloudfoundry.
grunt express-test
grunt express-server
grunt build && node app
I am glad you ask: with yeoman.
Yeoman, the doc is fantastic but it is a beta:
"Expect nothing to work."
Here is what worked today: March 11th 2013 around noon Singapore time.
Note: one can take the project as a seed and get going.
curl -L get.yeoman.io | bash
(https://github.com/yeoman/yeoman/wiki/Manual-Install)npm init
.devDependencies: {
"generator-angular": "*",
"generator-testacular": "*"
}
Now continue with the Getting-Started Documentatin of Yeoman:
yo angular --minsafe
Opt out of RequireJS: at the time of this writing that would break testacular. Opt in of everything else. Including Twitter-Bootstrap's SaaS flavor.
Ok ready to test run all this:
grunt server
Will open the browser on port 9000
Now run the testacular tests.
grunt test
Yeoman will serve the files with a naive static setup of nodejs's express. We want express instead. Luckily other people got started in that direction (Thanks https://github.com/blai/grunt-express).
Add to package.json my fork of that project.
"grunt-express": "git://github.com/blai/grunt-express.git"
Add grunt by doing something along those lines: https://github.com/blai/grunt-express-example
TODO: add a manifest.yml template and a grunt task.
For now: vmc push