Posts

Showing posts with the label NPM

Angular 5 continues deployment to Azure App services using GitHub

Image
In today Agile tech industry clients want zero downtime and quick turn around time from dev to prod, with more these process integration like continues development to continues deployment and so on.. (other DevOps process). With these process automation, each team Dev/Testing/QA/Admin all can perform their role easily and independently without any flow caveat till deployment and finally customer is happy ๐Ÿ˜Š Microsoft Azure has this capability in-build without and additional cost and it supports multiple cloud supported repos. out of which GitHub is also supporting this integration which is widely used by the opensource community. Steps for Angular 5 continues deployment using GitHub On the high-level, we need perform below steps ng build --prod --aot install kudu support update .cmd file using kudo script Commit to GitHub branch. Done! Check the portal. What is --AOT angular 5 The Angular Ahead-of-Time (AOT) compiler converts your Angular HTML and TypeScript code i...

Setting up Angular 5 environment

Image
Check Node & NPM version Verify that you are running at least node 6.9.x and npm 3.x.x by running node -v and npm -v in a terminal/console window Install angular CLI Enter below command to install angular cli npm install -g @angular/cli How to use NPM commands behind the PROXY ๐Ÿ›  Step to access to use npm commands behind the PROXY ๐Ÿ›  Set SSL false by executing this command: npm set strict-ssl false npm config set registry http://registry.npmjs.org/ Then, Get any one of the below: 1. User-specific -  username : password @proxy.example.com:1431 (User Proxy) 2. Proxy: 129.***.**.**:** (Proxy address with port#) Now, set appropriate by executing below npm  commands: npm config set http http://username:password@proxy.example.com:1431 npm config set https-proxy https://username:password@proxy.example.com:1431 (or) npm config set http_proxy 129.***.**.**:** npm config set https_proxy 129.***.**.**:** Now, all set...