Created
August 2, 2015 08:20
-
-
Save shotaK/2b4faca782a673f14ab7 to your computer and use it in GitHub Desktop.
Yeoman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------------------------- create a model --------------------------- | |
yo meanjs:express-model <model-name> | |
// e.g | |
yo meanjs:express-model category | |
// --------------------------- create a controller --------------------------- | |
yo meanjs:express-controller <controller-name> | |
// e.g | |
yo meanjs:express-controller categories | |
// --------------------------- create a route --------------------------- | |
yo meanjs:express-route <route-name> | |
// e.g | |
yo meanjs:express-route categories | |
// --------------------------- create a crud module --------------------------- | |
yo meanjs:crud-module <crud-module-name> | |
// e.g | |
yo meanjs:crud-module products | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------------------------- Install meanjs --------------------------- | |
yo meanjs | |
// --------------------------- install node modules --------------------------- | |
npm install | |
// --------------------------- run mongo database --------------------------- | |
mongod | |
// --------------------------- LAST STEP: start a server for the project --------------------------- | |
npm start | |
// --------------------------- Optional: tun tests of a project --------------------------- | |
npm test | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment