mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Update README.md
This commit is contained in:
parent
389148a278
commit
c8ae8db7e6
12
README.md
12
README.md
@ -33,20 +33,16 @@ These are steps that will only have to be done once across all your JAWS project
|
||||
### Hit the ground running
|
||||
|
||||
* Create a new project in your current working directory:
|
||||
|
||||
```jaws new project```
|
||||
|
||||
* Generate a lambda function skeletion and corresponding API gateway endpoint config:
|
||||
|
||||
```jaws generate```
|
||||
|
||||
|
||||
```jaws generate```
|
||||
* Write your code in `back/lambdas/<funcName>/index.js` then install node modules:
|
||||
|
||||
```cd <your-proj-name>/back; npm install```
|
||||
|
||||
```cd <your-proj-name>/back; npm install```
|
||||
* Deploy your lambda:
|
||||
|
||||
```cd back/lambdas/<funcName>; jaws deploy lambda```
|
||||
```cd back/lambdas/<funcName>; jaws deploy lambda```
|
||||
|
||||
* Optionally deploy your API gateway:
|
||||
* Configure [`endpoint`](./docs/jaws-json.md) attribute in `jaws.json`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user