From the course: Angular: Ecosystems

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Building and deploying code

Building and deploying code - Angular Tutorial

From the course: Angular: Ecosystems

Building and deploying code

- Once you're ready to push your Angular app into production, you'll need to build a production version of your code and deploy it into your production environment. The fastest way to build your code is using Angular's official command line tool called NG. You install the tool using another command line program called NPM. NPM stands for node package manager, and it comes standard when you install Node JS, a common engine that lets you run Java Script code on your server. You can install NG either globally, which let's you run the command from any directory on your computer, or you can install it locally, only in the project you're working on. Both options work very well, and the option you choose is based on the needs of your project. Once installed, you run the build command. This compiles the source code and gets it ready for release. The Angular CLI tool has a lot of options to help you start and maintain an Angular project. I recommend that you look at the official documentation…

Contents