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 file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+4 −4
Diff settings

Always

Just for now

@@ -15,27 +15,27 @@ Make sure `serverless` is installed. [See installation guide](../../../guide/ins


## 1. Create a service ## 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 ## 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 ## 3. Deploy


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


## 4. Invoke deployed function ## 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` `-f` is shorthand for `--function`


In your terminal window you should see the response from azure In your terminal window you should see the response from azure


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


ProTip! Use n and p to navigate between commits in a pull request.