Angular.js Project Scaffolding on Ubuntu Linux
The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the AngularJs Project Scaffolding by Yeoman, Grunt and Bower Tools on Ubuntu GNU/Linux Desktop.
Yeoman is an Open Source Web’s Scaffolding Tool for Modern WebApps.
Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.
Bower is a Package Manager for the Web. Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you’re looking for.
- Open a Shell Terminal emulator window
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands)
How-to Install Latest Node.js on Ubuntu Linux:Node.js Installation for Ubuntu
Check if it is already there:
To install Git for Ubuntu:
sudo apt-get install git
If Got “User is Not in Sudoers file” then Look: Solution
Installing Angular Generator
npm install -g generator-angular
Specifying the -g flag when invoking npm install ensures that the desired package will be available globally on your machine.
npm install -g grunt-cli
npm install -g bower
npm install -g yo
AngularJs Project Scaffolding with Yeoman
First make a target environment:
mkdir -p anguarJs/scaffoldPro
Scaffold your AngularJs Project:
yo scaffold scaffoldPro
This will fire the AngularJS Yeoman generator, which asks you a few questions about how to setup your App…