----------------------------------- Development Enviornment Setup ----------------------------------- 1. Install nodejs. https://nodejs.org/en/ 2. Run following commands npm install -p @angular/cli npm install --save --legacy-peer-deps npm install ----------------------------------- Development Enviornment Setup ----------------------------------- 3. Copy environments/environment.localhost.ts. 4. Paste that copied file in environments folder. 5. Rename that file to environment.ts. ----------------------------------- Development Running ----------------------------------- ng serve ----------------------------------- Production Build ----------------------------------- ng build ng build --configuration=production ng build --configuration=staging 1. Copy everything within the output folder (dist/project-name/ by default) to a folder on the server. 2. Configure the server to redirect requests for missing files to index.html. ng generate component --skip-import _component\businessUserSignUp npm i -g npm-check-updates ncu -u npm install ng build --aot