Overview
This generator build an Yoctopus (Yes this is a name of our tools ;) ) stack based on NodeJs / AngularJs and our yocto modules.
Motivation
We build this generator to gain time between each project. It provide for us :
- An already defined project strcuture
- Pre build Gruntfile.js
- Pre build templates for AngularJs
- An already set up NodeJs application based on yocto-core-stack package
Install
To install yoctotopus
sudo npm install -g yo generator-yoctopus bower grunt-cli
To verify that the yoctopus
generator is properly installed :
yo --generators
After that go to the new project base directory and run the generator :
yo yoctopus
How to use
For the moment please read readme.md of each of our yocto modules, each modules describe what we can do with it. In the future we will generate an documentation with more details.
Angular Events
For angular project we provide an auto loading of config files. All error events was automatically catch.
If you want run your angular scripts when app is ready you must catch the $applicationIsReady
event from $rootScope
.
Need more modules ?
Please see our NPM repository for complete list of available tools (completed day after day).