2017-12-18 21:30:51 +00:00
|
|
|
# serverless
|
|
|
|
|
|
|
|
> Toolkit for deploying and operating serverless architectures on AWS, Google Cloud, Azure and IBM OpenWhisk.
|
|
|
|
|
2017-12-18 21:35:44 +00:00
|
|
|
- Create a serverless project:
|
2017-12-18 21:30:51 +00:00
|
|
|
|
|
|
|
`sls create`
|
|
|
|
|
|
|
|
- Create a serverless project from template:
|
|
|
|
|
|
|
|
`sls create --template {{template_name}}`
|
|
|
|
|
|
|
|
- Deploy to a cloud provider:
|
|
|
|
|
|
|
|
`sls deploy`
|
|
|
|
|
|
|
|
- Display information about a serverless project:
|
|
|
|
|
|
|
|
`sls info`
|
|
|
|
|
|
|
|
- Follow logs for a project:
|
|
|
|
|
|
|
|
`sls logs -t`
|
|
|
|
|
|
|
|
- Display metrics for a function:
|
|
|
|
|
2017-12-18 21:38:38 +00:00
|
|
|
`sls metrics -f {{function_name}}`
|