mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
updated a few grammatical errors
This commit is contained in:
parent
b147126c3e
commit
e5033aeb0c
@ -77,4 +77,4 @@ In your terminal window you should see the response from AWS Lambda.
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -72,4 +72,4 @@ In your terminal window you should see the response from AWS Lambda.
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -113,4 +113,4 @@ serverless invoke -f world
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -60,4 +60,4 @@ In your terminal window you should see the response from AWS Lambda.
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -60,4 +60,4 @@ In your terminal window you should see the response from AWS Lambda.
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -39,4 +39,4 @@ In your terminal window you should see the response from azure
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -35,4 +35,4 @@ Update the `credentials` and your `project` property in the `serverless.yml` fil
|
||||
|
||||
In your terminal window you should see a response from the Google Cloud
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -35,4 +35,4 @@ In your terminal window you should see the response from Apache OpenWhisk
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -35,4 +35,4 @@ In your terminal window you should see the response from Apache OpenWhisk
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -35,4 +35,4 @@ In your terminal window you should see the response from Apache OpenWhisk
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -35,4 +35,4 @@ In your terminal window you should see the response from Apache OpenWhisk
|
||||
}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and run your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
@ -32,7 +32,7 @@ In your terminal window you should see the response
|
||||
{"hello":"null"}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and ran your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
## Short Hand Guide
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ In your terminal window you should see the response
|
||||
{"hello":"from NodeJS8.3 function"}
|
||||
```
|
||||
|
||||
Congrats you have just deployed and ran your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
## Short Hand Guide
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@ In your terminal window you should see the response
|
||||
'{"hello":"from Python2.7 function"}'
|
||||
```
|
||||
|
||||
Congrats you have just deployed and ran your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
## Short Hand Guide
|
||||
|
||||
|
||||
@ -11,21 +11,21 @@ layout: Doc
|
||||
|
||||
# Hello World Ruby Example
|
||||
|
||||
Make sure `serverless` is installed.
|
||||
Make sure `serverless` is installed.
|
||||
|
||||
## 1. Create a service
|
||||
`serverless create --template spotinst-ruby --path serviceName` `serviceName` is going to be a new directory there the Ruby template will be loaded. Once the download is complete change into that directory. Next you will need to install the Spotinst Serverless Functions plugin by running `npm install` in the root directory. You will need to go into the serverless.yml file and add in the environment variable that you want to deploy into.
|
||||
|
||||
|
||||
## 2. Deploy
|
||||
```bash
|
||||
```bash
|
||||
serverless deploy
|
||||
```
|
||||
|
||||
## 3. Invoke deployed function
|
||||
```bash
|
||||
serverless invoke --function hello
|
||||
```
|
||||
```
|
||||
|
||||
In your terminal window you should see the response
|
||||
|
||||
@ -33,14 +33,14 @@ In your terminal window you should see the response
|
||||
'{"hello":"from Ruby2.4.1 function"}'
|
||||
```
|
||||
|
||||
Congrats you have just deployed and ran your Hello World function!
|
||||
Congrats you have deployed and ran your Hello World function!
|
||||
|
||||
## Short Hand Guide
|
||||
|
||||
`sls` is short hand for serverless cli commands
|
||||
`sls` is short hand for serverless cli commands
|
||||
|
||||
`-f` is short hand for `--function`
|
||||
|
||||
`-t` is short hand for `--template`
|
||||
|
||||
`-p` is short hang for `--path`
|
||||
`-p` is short hang for `--path`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user