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`
|
|
|
|
|
2017-12-19 14:45:17 +00:00
|
|
|
- Create a serverless project from a template:
|
2017-12-18 21:30:51 +00:00
|
|
|
|
|
|
|
`sls create --template {{template_name}}`
|
|
|
|
|
|
|
|
- Deploy to a cloud provider:
|
|
|
|
|
|
|
|
`sls deploy`
|
|
|
|
|
|
|
|
- Display information about a serverless project:
|
|
|
|
|
|
|
|
`sls info`
|
|
|
|
|
2017-12-19 14:45:17 +00:00
|
|
|
- Follow the logs for a project:
|
2017-12-18 21:30:51 +00:00
|
|
|
|
|
|
|
`sls logs -t`
|
|
|
|
|
|
|
|
- Display metrics for a function:
|
|
|
|
|
2017-12-18 21:39:52 +00:00
|
|
|
`sls metrics -f {{function_name}}`
|