Installs a service from a GitHub URL in the current working directory.
serverless install --url https://github.com/pmuens/serverless-knative-example
--url
or -u
The services Git URL. Required.--name
or -n
Name for the service.serverless install --url https://github.com/pmuens/serverless-knative-example
This example will download the .zip file of the serverless-knative-example
service from GitHub, create a new directory with the name serverless-knative-example
in the current working directory and unzips the files in this directory.
serverless install --url https://github.com/pmuens/serverless-knative-example --name my-service
This example will download the .zip file of the serverless-knative-example
service from GitHub, create a new directory with the name my-service
in the current working directory and unzips the files in this directory and renames the service to my-service
if serverless.yml
exists in the service root.
Product