mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Remove core tools from dev dependencies and add to docs as one-time install
This commit is contained in:
parent
e9b59d4297
commit
ffd332871e
@ -111,11 +111,15 @@ $env:azureServicePrincipalPassword='<password>'
|
||||
|
||||
**Run the Function Locally**
|
||||
|
||||
In order to run & test your Azure Function locally, run
|
||||
In order to run & test your Azure Function locally, run a one-time install of the Azure Functions Core Tools:
|
||||
|
||||
```bash
|
||||
npm install azure-functions-core-tools -g
|
||||
```
|
||||
|
||||
From there, run the start script:
|
||||
|
||||
```bash
|
||||
# One time install
|
||||
npm install
|
||||
# Start Function app
|
||||
npm start
|
||||
```
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"serverless-azure-functions": ">=0.7.0",
|
||||
"azure-functions-core-tools": ">=2.7.1158"
|
||||
"serverless-azure-functions": ">=0.7.0"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user