Read this on the main serverless docs site¶
OpenWhisk - Install¶
Installs a service from a GitHub URL in the current working directory.
Options¶
--urlor-uThe services Git URL (can be a plain Git or a Code Hosting Platform URL). Required.--nameor-nName for the service.
Provided lifecycle events¶
install:install
Supported Code Hosting Platforms¶
- GitHub
- GitHub Enterprise
- GitLab
- BitBucket
- BitBucket Server
Examples¶
Installing a service from a GitHub URL¶
This example will download the .zip file of the serverless-openwhisk-boilerplate service from GitHub, create a new directory with the name serverless-openwhisk-boilerplate in the current working directory and unzips the files in this directory.
Installing a service from a GitHub URL with a new service name¶
This example will download the .zip file of the serverless-openwhisk-boilerplate service from GitHub, create a new directory with the name my-app in the current working directory and unzips the files in this directory and renames the service to my-app if serverless.yml exists in the service root.
Installing a service from a directory in a GitHub URL¶
This example will download the openwhisk-node-simple service from GitHub.