DEV Community

Cover image for Deploy Your Ionic (Angular) PWA to Azure

Deploy Your Ionic (Angular) PWA to Azure

Michael D. Callaghan on November 11, 2019

Someone commented on the discussion section of my Ionic/PWA course at Pluralsight that there are many examples of deploying to Firebase, but few ot...
Collapse
 
daviddalbusco profile image
David Dal Busco • Edited

Thank you for the interesting tutorial 👍

  • The Firebase CLI has (I think) to be installed globally. Is it possible to install the Azure CLI globally too or is it really one app = one CLI dependency ?

  • I never tried Azure therefore more a curiosity question not directly related: in Azure, is it as easy as in Firebase to connect a domain name for the hosting? does it generate/handles SSL automatically too?

Collapse
 
walkingriver profile image
Michael D. Callaghan

I don't have any Azure CLI tools loaded at all. The ng add command installed was a hook into the Angular CLI specifically for that project, as far as I can tell. I don't think it installed anything globally. I'm open to being wrong on that, though.

As you point out, my firebase tools are loaded globally.

I've been a huge fan of Azure for years. I love that most of their offerings have a decent free tier, so independent developers often don't have to pay anything to use it.

I will admit, however, that I have never attached a custom domain to any Azure (or Firebase) sites. My only custom domain is walkingriver.com, and it's managed entirely by GitHub.

That said, if it's like just about everything else at Azure, it will turn out to be pretty easy to do.

Collapse
 
daviddalbusco profile image
David Dal Busco

Thank you for the detailed answer. In such case it's cool that it is "just" solved with a ng add 👍

Azure sounds interesting if it's as simple as Firebase. Thank you for sharing your thoughts and inputs about it. I should give it a try one of these days.

Collapse
 
kevinboosten profile image
Kevin Boosten

I had to create the resource group and storage account manually. Will try it another time. But after that, it worked like a charm :-) Thanks Michael.

More details for other readers:
github.com/Azure/ng-deploy-azure#d...