Deploy a Angular application.

Angular is an incredibly popular framework for building reactive and powerful front-end applications.

In this guide, you will create a new Angular application and deploy it using YouAppz Sitez. You will use the Angular CLI, a batteries-included tool for generating new Angular applications.

Before continuing with this guilde you need a YouAppz account first. Register for a free account if you haven't got one yet. appz signup

Setting up a new project

Create a new project using npx, giving it the title my-angular-app in your terminal.

# Create the project
$ npx @angular/cli new my-angular-app

The Angular CLI will prompt you for customization choices. Your answers will not affect the rest of this tutorial. Choose the option that is ideal for your project.

Deploying with Youappz Sitez

Deploy your site to Sitez by running the following commands

# Enter the new directory
cd my-nuxt-app
# build the App
ng build
# deploy to youappz
appz create -n my-angular-app
appz deploy -d dist

In less than 30 seconds your website will be deployed to an https URL on our global CDN.

For the complete guide to deploying your first site to YouAppz Sitez, refer to the Get started guide.

After deploying your site, you will receive a unique subdomain for your project on * Every time you deploy your Gatsby site, Youappz Sitez will automatically rebuild your project and deploy it. You will also get access to preview deployments on every deploy, so you can preview how changes look to your site before deploying them to production.

Updated at Mon, Jan 24, 2022