title | description | services | author | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|
include file |
include file |
app-service |
cephalin |
app-service |
include |
01/14/2020 |
cephalin |
include file |
Note
If you downloaded the files in a ZIP file, extract the files first. For example, if you downloaded a ZIP file from GitHub, you cannot deploy that file as-is. GitHub adds additional nested directories, which do not work with App Service.
In a local terminal window, navigate to the root directory of your app project.
This directory should contain the entry file to your web app, such as index.html, index.php, and app.js. It can also contain package management files like project.json, composer.json, package.json, bower.json, and requirements.txt.
Unless you want App Service to run deployment automation for you, run all the build tasks (for example, npm
, bower
, gulp
, composer
, and pip
) and make sure that you have all the files you need to run the app. This step is required if you want to run your package directly.
Create a ZIP archive of everything in your project. For dotnet
projects, this folder is the output folder of the dotnet publish
command. The following command uses the default tool in your terminal:
# Bash
zip -r <file-name>.zip .
# PowerShell
Compress-Archive -Path * -DestinationPath <file-name>.zip