Introduction

In this article, we will understand how to use Azure Repos, CI/CD using Pipeline in Azure DevOps, and Host the same in Azure App Service. We will create an Angular 10 project from scratch and perform all the steps. This is an End-to-end demo explaining the steps in detail from creating an angular project in VS Code to managing the source code in Azure DevOps and performing CI/CD to deploy the same in Azure App Service. We will use the current Azure portal settings which have changed over time.

Pre-Requisite for this Demo

The entire demo is divided into 3 articles, please find the details below.

  1. Part 1 - Angular 10 Project in Azure DevOps CI/CD with Azure Repos or GitHub and Hosting in Azure App Service
    • Section 1: To Create Angular 10 Project and Run it locally on your machine
    • Section 2: Create an Azure DevOps account and move the project source code into Azure
  2. Part 2 - Angular 10 Project in Azure DevOps CI/CD with Azure Repos or GitHub and Hosting in Azure App Service
    • Section 3: Create Azure Portal Account to make use of Azure App Service to deploy our project
    • Section 4: Create Resource groups, App Service plan, and App Service in Azure Services
  3. Part 3 - Angular 10 Project in Azure DevOps CI/CD with Azure Repos or GitHub and Hosting in Azure App Service
    • Section 5: Configure CI/ CD for the Project by integrating Azure DevOps with Azure App Service.

Let's get started,

Section 1. Create An Angular 10 Project & Run It Locally In Your machine

Step 1. Create an Angular 10 Project in any editor of your choice, we are going to use VS Code.

Step 2. Open the terminal and ensure you're inside the project path, then run the project using the below command.

Section 2. Create An Azure DevOps Account & Move The Project Source Code Into Azure

Note. To explain the functionalities in the Azure DevOps, will write more articles later. In this article, we will cover how to use pipelines to configure CI/ CD with Azure App Service.

Please refer to Part - 2 and Part 3 of this blog to complete the entire demo.

Thanks! I really appreciate everyone for reading through this article.