Last active
December 28, 2015 07:29
-
-
Save pavelbinar/7465080 to your computer and use it in GitHub Desktop.
Terminal: Yeoman commands
This file contains hidden or 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
| # Yeoman Commands | |
| # Install new generator | |
| npm install -g yo generator-[nameOfGenerator] | |
| # Uninstall generator | |
| npm uninstall -g yo generator-[nameOfGenerator] | |
| # Example | |
| npm install -g generator-angular # install generator | |
| yo angular # scaffold out a AngularJS project | |
| bower install angular-ui # install a dependency for your project from Bower | |
| grunt test # test your app | |
| grunt server # preview your app | |
| grunt # build the application for deployment | |
| # Bootstrap | |
| yo bootstrap | |
| bower init | |
| # Update Yeoman | |
| sudo npm cache clean | |
| sudo npm update -g yo | |
| # Install webapp and update to bootstrap 3 | |
| yo webapp | |
| bower install --save sass-bootstrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment