diff --git a/docs/README.md b/docs/README.md index cba7487e5..3b81ada8d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -50,3 +50,4 @@ You may also take a look at our [code of conduct](/code_of_conduct.md). - [Building plugins](developing-plugins) - [How to build your own plugin](developing-plugins/building-plugins.md) - [How to build provider integration with your plugin](developing-plugins/building-provider-integrations.md) +- [Service templates](service-templates) diff --git a/docs/guide/creating-a-service.md b/docs/guide/creating-a-service.md index f5a5e53de..c6e99895c 100644 --- a/docs/guide/creating-a-service.md +++ b/docs/guide/creating-a-service.md @@ -4,8 +4,10 @@ Let's create our first Serverless service! ## Creating our service -You can create a service based on a specific template that specifies which provider and runtime to use. To create a -service with a `nodejs` runtime running on `aws` just pass the `aws-nodejs` template to the create command: +You can create a service based on a specific template that specifies which provider and runtime to use (take a look +[here](../service-templates) to learn more about templates). + +To create a service with a `nodejs` runtime running on `aws` just pass the `aws-nodejs` template to the create command: ``` serverless create --template aws-nodejs diff --git a/docs/service-templates/README.md b/docs/service-templates/README.md new file mode 100644 index 000000000..d44e1cf70 --- /dev/null +++ b/docs/service-templates/README.md @@ -0,0 +1,10 @@ +# Service templates + +The `serverless create` command takes a `--template` variable where you can specify a provider and runtime specific +template you'd like to use to kick-start your service development. + +Serverless will then copy those files from the template folder into your current working directory. + +## Available templates + +Take a look [here](/lib/plugins/create/templates) to see all the available templates and explore their content.