Skip to content

Commit a20f010

Browse files
committed
David and Colby reviews
1 parent b2b5c02 commit a20f010

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

articles/azure-functions/functions-app-settings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.devlang: multiple
1212
ms.topic: article
1313
ms.tgt_pltfrm: multiple
1414
ms.workload: na
15-
ms.date: 08/15/2018
15+
ms.date: 08/22/2018
1616
ms.author: glenga
1717
---
1818

@@ -153,7 +153,7 @@ Default is "6.5.0".
153153

154154
## WEBSITE\_RUN\_FROM\_ZIP
155155

156-
Enables your function app to run from a mounted .zip package.
156+
Enables your function app to run from a mounted package file.
157157

158158
> [!NOTE]
159159
> This setting is for a preview feature.
@@ -162,7 +162,7 @@ Enables your function app to run from a mounted .zip package.
162162
|---|------------|
163163
|WEBSITE\_RUN\_FROM\_ZIP|1|
164164

165-
Valid values are either a URL that resolves to the location of a .zip deployment package, or `1`. When set to `1`, the package must be in the `d:\home\data\SitePackages` folder. For more information, see [Run your functions from a .zip deployment package](run-functions-from-deployment-package.md).
165+
Valid values are either a URL that resolves to the location of a deployment package file, or `1`. When set to `1`, the package must be in the `d:\home\data\SitePackages` folder. When using zip deployment with this setting, the package is automatically uploaded to this location. For more information, see [Run your functions from a package file](run-functions-from-deployment-package.md).
166166

167167
## Next steps
168168

articles/azure-functions/run-functions-from-deployment-package.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ ms.author: glenga
2222
> [!NOTE]
2323
> The functionality described in this article is currently in preview; it is not available for Functions on Linux.
2424
25-
By default, your function project files are deployed to the `d:\home\site\wwwroot` directory of your function app in Azure. These files are used to run your functions.
25+
In Azure, you can run your functions directly from a deployment package file in your function app. The other option is to deploy your function project files in the `d:\home\site\wwwroot` directory of your function app.
2626

27-
You can also choose to run your functions directly from a deployment package file. This article describes the benefits of running your functions from a package, and how to enable it in your function app.
27+
This article describes the benefits of running your functions from a package. It also shows how to enable this functionality in your function app.
2828

29-
## Benefits of running from the zip file
29+
## Benefits of running from a package file
3030

3131
There are several benefits to running from a package file:
3232

@@ -38,15 +38,14 @@ There are several benefits to running from a package file:
3838

3939
For more information, see [this announcement](https://github.com/Azure/app-service-announcements/issues/84).
4040

41-
## Enabling the run from zip functionality
41+
## Enabling functions to run from a package
4242

4343
To enable your function app to run from a package, you just add a `WEBSITE_RUN_FROM_ZIP` setting to your function app settings. The `WEBSITE_RUN_FROM_ZIP` setting can have one of the following values:
4444

45-
4645
| Value | Description |
4746
|---------|---------|
4847
|**`<url>`** | Location of a specific package file you want to run. When using Blob storage, you should use a private container with a [Shared Access Signature (SAS)](../vs-azure-tools-storage-manage-with-storage-explorer.md#attach-a-storage-account-by-using-a-shared-access-signature-sas) to enable the Functions runtime to access to the package. You can use the [Azure Storage Explorer](https://azure.microsoft.com/features/storage-explorer/) to upload package files to your Blob storage account. |
49-
| **`1`** | Run from a pacakge file in the `d:\home\data\SitePackages` folder of your function app. You can use the zip deployment APIs to automatically create and copy a deployment package to this folder. |
48+
| **`1`** | Run from a package file in the `d:\home\data\SitePackages` folder of your function app. This option requires the folder to also have a file named `packagename.txt`. This file contains only the name of the package file in folder, without any whitespace. |
5049

5150
The following shows a function app configured to run from a .zip file hosted in Azure Blob storage:
5251

@@ -55,9 +54,9 @@ The following shows a function app configured to run from a .zip file hosted in
5554
> [!NOTE]
5655
> Currently, only .zip package files are supported.
5756
58-
## Integration with .zip deployment
57+
## Integration with zip deployment
5958

60-
[Zip deployment][Zip deployment for Azure Functions] is a feature of Azure App Service that lets you deploy a .zip file containing your function app project to the `wwwroot` directory. The same APIs can be used to deploy your package to the `d:\home\data\SitePackages` folder. When you have the app setting `WEBSITE_RUN_FROM_ZIP` set to a value of `1`, the zip deployment APIs copy your package to the `d:\home\data\SitePackages` folder instead of extracting the files to `d:\home\site\wwwroot`. The function app is then run from the package after a restart and `wwwroot` becomes read-only. For more information about zip deployment, see [Zip deployment for Azure Functions](deployment-zip-push.md).
59+
[Zip deployment][Zip deployment for Azure Functions] is a feature of Azure App Service that lets you deploy your function app project to the `wwwroot` directory. The project is packaged as a .zip deployment file. The same APIs can be used to deploy your package to the `d:\home\data\SitePackages` folder. With the `WEBSITE_RUN_FROM_ZIP` app setting value of `1`, the zip deployment APIs copy your package to the `d:\home\data\SitePackages` folder instead of extracting the files to `d:\home\site\wwwroot`. It also creates the `packagename.txt` file. The function app is then run from the package after a restart, and `wwwroot` becomes read-only. For more information about zip deployment, see [Zip deployment for Azure Functions](deployment-zip-push.md).
6160

6261
## Adding the WEBSITE_RUN_FROM_ZIP setting
6362

0 commit comments

Comments
 (0)