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

Latest commit

 

History

History
34 lines (24 loc) · 992 Bytes

File metadata and controls

34 lines (24 loc) · 992 Bytes

Whisk Deploy - Cloudant Trigger

Download latest wskdeploy from the release page of openwhisk-wskdeploy project.

Pre-requisites:

  • Cloudant database instance named openwhisk-cloudant in Bluemix.
  • Database named cats in the cloudant instance.
  • Set these environment variables:
export CLOUDANT_INSTANCE="openwhisk-cloudant"
export CLOUDANT_USERNAME=""
export CLOUDANT_PASSWORD=""
export CLOUDANT_HOSTNAME="$CLOUDANT_USERNAME.cloudant.com"
export CLOUDANT_DATABASE="cats"

Deployment:

Clone Cloudant Trigger repo and run wskdeploy:

git clone https://github.com/IBM/openwhisk-cloudant-trigger.git
wskdeploy -p openwhisk-cloudant-trigger/wskdeploy

Undeploy:

Run wskdeploy to undeploy cloudant trigger:

wskdeploy undeploy -p openwhisk-cloudant-trigger/wskdeploy