Dear all,
I had created Build pipline for angluer 14 on devops and it is working fine. i want to create relese pipline for same. but not able to find it for hosting serever.
Dear all,
I had created Build pipline for angluer 14 on devops and it is working fine. i want to create relese pipline for same. but not able to find it for hosting serever.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jayraj ChhayaPosted Dec 5, 2023, 9:20 AM
To deploy an Angular 14 web application on an IIS server, you need to follow these steps:
Build your Angular application: Use the Angular CLI to build your application by running the command
ng build --prod. This will create a production-ready build of your application in thedistfolder.Set up the IIS server: Ensure that IIS is installed on your server and properly configured. You can install IIS by going to the "Turn Windows features on or off" section in the Control Panel.
Create a new website in IIS: Open the IIS Manager and create a new website by right-clicking on "Sites" and selecting "Add Website". Provide a name, physical path (pointing to the
distfolder of your Angular application), and a host name if required.Configure the website: In the website's configuration, ensure that the application pool is set to use the correct .NET version and pipeline mode. You may also need to configure any necessary URL rewrite rules or SSL settings.
Test the deployment: Start the website in IIS and access it using the specified host name or IP address. Verify that your Angular application is running correctly.
Regarding the release pipeline on DevOps, you can create a release pipeline to automate the deployment process. You can use tools like Azure DevOps or Jenkins to set up a release pipeline that triggers the deployment to the IIS server whenever a new build is available.