| topic | HTML Hello World | ||
|---|---|---|---|
| languages |
|
||
| products |
|
This sample demonstrates a tiny Hello World HTML app for App Service.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
In the Cloud Shell, create a quickstart directory and then change to it.
mkdir quickstart
cd $HOME/quickstartNext, run the following command to clone the sample app repository to your quickstart directory.
git clone https://github.com/eogmau/dpl-demo-website-azure.gitIn the Cloud Shell, type nano index.html to open the nano text editor.
cd dpl-demo-website-azure
nano index.htmlChange to the directory that contains the sample code and run the az webapp up command.
In the following example, replace <app_name> with a unique app name.
az webapp up --location northeurope --name <app_name>In the preceding steps, you created Azure resources in a resource group. If you don't expect to need these resources in the future, delete the resource group by running the following command in the Cloud Shell. Remember that the resource group name was automatically generated for you in the create a web app step.
az group delete --name appsvc_rg_Windows_northeurope