Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (37 loc) · 1.87 KB

File metadata and controls

53 lines (37 loc) · 1.87 KB

OpenWhisk - Install

Installs a service from a GitHub URL in the current working directory.

serverless install --url https://github.com/some/service

Options

  • --url or -u The services GitHub URL. Required.
  • --name or -n Name for the service.

Provided lifecycle events

  • install:install

Examples

Installing a service from a GitHub URL

serverless install --url https://github.com/jthomas/serverless-openwhisk-boilerplate

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

serverless install --url https://github.com/jthomas/serverless-openwhisk-boilerplate --name my-app

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

serverless install --url
https://github.com/serverless/examples/tree/master/openwhisk-node-simple

This example will download the openwhisk-node-simple service from GitHub.