generator-ptz-domain
Version:
Yeoman generator to create polutz domain modules.
33 lines (25 loc) • 1.29 kB
Markdown
# generator-ptz-domain
[](https://travis-ci.org/polutz/generator-ptz-domain)
[](http://codecov.io/github/polutz/generator-ptz-domain)
[](https://gemnasium.com/polutz/generator-ptz-domain)
[](https://www.bithound.io/github/polutz/generator-ptz-domain)
[](http://opensource.org/licenses/MIT)
Yeoman generator to create polutz domain modules.
## How to contribute
[pt-br](https://github.com/polutz/generator-ptz-domain/docs/contribute.pt-br.md)
[en-us](https://github.com/polutz/generator-ptz-domain/docs/contribute.md)
## Install
You can remove 'yo typings' if you already have them installed
```
npm install -g generator-ptz-domain yo typings
```
## Create your project
Go to your project folder and run:
```
yo ptz-domain && typings install
```
## Create an Entity class
replace 'EntityName' with your class name, using first letter as upercase
```
yo ptz-domain:entity EntityName
```