Skip to content

Commit 39a94b0

Browse files
author
JeanMarc van Leerdam
committed
Update showcase project so it loads again; document mandatory settings
1 parent 6bf1738 commit 39a94b0

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ in your `build.sbt` provide values for the assembly and azure-functions plugins:
1919
lazy val root = (project in file("."))
2020
.settings(
2121
...
22+
// replace these values with appropriate values for your Azure Function
23+
azfunFunctionAppName := "ScalaFunction",
24+
azfunLocation := "azure-location", // e.g. "westeurope", "eastus", etc.
25+
azfunResourceGroup := "your-resource-group",
26+
azfunStorageAccount := "yourstorageaccount"
2227

2328
// optional: override the zip and/or jar name (defaults are AzureFunction.zip and AzureFunction.jar)
2429
azfunZipName := "myFunctions.zip",
@@ -52,7 +57,7 @@ in your `build.sbt` provide values for the assembly and azure-functions plugins:
5257
and logged in to the correct Azure Subscription.
5358
You will also have to install the app-insights extension to the CLI, by running `az extension add -n application-insights`
5459

55-
You can provide the following settings to determine the destination:
60+
You must provide the following settings to determine the destination:
5661
* `azfunResourceGroup`
5762
* `azfunStorageAccount`
5863

showcase/build.sbt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ lazy val root = (project in file("."))
44
version := "1.0",
55
libraryDependencies ++= Seq(
66
"com.microsoft.azure.functions" % "azure-functions-java-library" % "3.1.0"
7-
)
7+
),
8+
azfunFunctionAppName := "ScalaFunction",
9+
azfunLocation := "West Europe",
10+
azfunResourceGroup := "your-resource-group",
11+
azfunStorageAccount := "yourstorageaccount"
812
)

0 commit comments

Comments
 (0)