You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
1. Node.js 8.x or 10.x *(this is the runtime version supported by Azure Functions)*
11
+
1. Node.js 8.x or above
12
12
2. Serverless CLI `v1.9.0+`. You can run `npm i -g serverless` if you don't already have it.
13
13
3. An Azure account. If you don't already have one, you can sign up for a [free trial](https://azure.microsoft.com/en-us/free/) that includes $200 of free credit.
@@ -27,13 +28,7 @@ The `serverless.yml` file contains the configuration for your service. For more
27
28
28
29
### Running Function App Locally (`offline` plugin)
29
30
30
-
In order to run a Azure Function App locally, the `azure-functions-core-tools` package needs to be installed from NPM. Since it is only used for local development, we did not include it in the `devDependencies` of `package.json`. To install globally, run:
31
-
32
-
```bash
33
-
$ npm i azure-functions-core-tools -g
34
-
```
35
-
36
-
Then, at the root of your project directory, run:
31
+
At the root of your project directory, run:
37
32
38
33
```bash
39
34
# Builds necessary function bindings files and starts the function app
@@ -44,16 +39,16 @@ The `offline` process will generate a directory for each of your functions, whic
44
39
45
40
After the necessary files are generated, it will start the function app from within the same shell. For HTTP functions, the local URLs will be displayed in the console when the function app is initialized.
46
41
47
-
To simply start the function app *without*building the files, run:
42
+
To build the files *without*spawning the process to start the function app, run:
48
43
49
44
```bash
50
-
$ sls offline start
45
+
$ sls offline build
51
46
```
52
47
53
-
To build the files *without*spawning the process to start the function app, run:
48
+
To simply start the function app *without*building the files, run:
54
49
55
50
```bash
56
-
$ sls offline build
51
+
$ sls offline start
57
52
```
58
53
59
54
To clean up files generated from the build, run:
@@ -325,10 +320,14 @@ We run our integration tests twice per day from our GitHub workflow. These tests
325
320
- Python 3.6 (Linux only) using premium functions
326
321
- Python 3.7 (Linux only)
327
322
- Python 3.8 (Linux only)
323
+
- .NET Core 2.2 on Linux
324
+
- .NET Core 2.2 on Windows
325
+
- .NET Core 3.1 on Linux
326
+
- .NET Core 3.1 on Windows
328
327
329
328
We made these configurations as minimal as possible. If you are having problems with your project, feel free to check to see if our integration tests are passing (see badge at top of readme) and then double check our configuration inside the `integrationTests` directory.
330
329
331
-
We use [Clover](https://www.npmjs.com/package/clvr) to run the integration tests, and they run 2x per day in our GitHub Action.
330
+
We use [Clover](https://www.npmjs.com/package/clvr) to run the integration tests, and they run 2x per day in our GitHub Action, split out by runtime language.
-`provider.stage` - Stage for resources. Default `dev`
25
-
<!-- TODO - provider.type -->
27
+
-`provider.type` - Type of Azure Function app
28
+
-`consumption` (default)
29
+
-`premium`
30
+
-`ase`
31
+
-`provider.subscriptionId` - Azure subscription ID. Can also be specified by environment variable (`AZURE_SUBSCRIPTION_ID`) or command-line args (`--subscriptionId`)
32
+
-`provider.tenantId` - Azure subscription ID. Can also be specified by environment variable (`AZURE_TENANT_ID`) or command-line args (`--tenantId`)
33
+
-`provider.appId` - Azure subscription ID. Can also be specified by environment variable (`AZURE_CLIENT_ID`) or command-line args (`--appId`)
34
+
-`provider.tags` - Tags to apply to resource group
0 commit comments