Yeoman. Yeoman is an open source client-side scaffolding tool for web applications. Yeoman runs as a command-line interface written for Node.js

Install it, using npm.

npm install -g yo

Introduce yourself to the generators.

They are listed on Yeoman’s Hub.

There are generators (projects that help scaffolding a specific web app project) for many big names: ionic, react-webpack, angular, drupal and others 7300+ technologies.

In order to list generators directly from command line

yo --generators

Scaffold a desired project

Let’s assume you are getting started building an app in Angular.

yo angular

Install the needed component tools

npm install -g yo grunt-cli bower
apt-get install nodejs-legacy
npm install -g generator-angular

Scaffold your app. You will be asked if need to include Bootstrap, Sass, Sass for bootstrap. Then will trigger the angular generator and will be asked which angular component to install.

yo angular

If running into permission errors, chown the folder.

Tip

You can use a command-line tool called yo docker, which scaffolds files from your project in the language you choose and adds the required Docker configuration files. Basically, to assist developers getting started, it creates the appropriate DockerFile, docker-compose.yml, and other associated scripts to build and run your Docker containers. This yeoman generator will prompt you with a few questions, asking your selected development language and destination container host.

Diagnose configuration issues.

Detect potential issues with users system that could prevent Yeoman from working correctly. it scans the validity of global configuration, node.js version, node paths.

Launch it.

yo doctor