Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken Azure Hello World Example documentation #4888

Merged
merged 1 commit into from
Jan 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/providers/azure/examples/hello-world/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ Make sure `serverless` is installed. [See installation guide](../../../guide/ins

## 1. Create a service

`serverless install --url https://github.com/azure/boilerplate-azurefunctions --name my-app`
`serverless install --url https://github.com/azure/boilerplate-azurefunctions --name my-sls-app`

## 2. Install Provider Plugin

`npm install -g serverless-azure` followed by `npm install` in the service directory.
`npm install -g serverless-azure-functions` followed by `npm install` in the service directory.

## 3. Deploy

`serverless deploy` or `sls deploy`. `sls` is shorthand for the Serverless CLI command

## 4. Invoke deployed function

`serverless invoke --function helloWorld` or `serverless invoke -f helloWorld`
`serverless invoke --function httpjs --path httpQueryString.json` or `serverless invoke -f httpjs --path httpQueryString.json`

`-f` is shorthand for `--function`

In your terminal window you should see the response from azure

```bash
{
"payload": "Hello, World!"
"payload": "Hello pragna"
}
```

Expand Down