Skip to content

Instantly share code, notes, and snippets.

@l2fprod
Created November 8, 2016 16:55
Show Gist options
  • Save l2fprod/06103c2d40b68687f6f16caf5b15b890 to your computer and use it in GitHub Desktop.
Save l2fprod/06103c2d40b68687f6f16caf5b15b890 to your computer and use it in GitHub Desktop.
A toolchain for Dark Vision
#!/bin/bash
# Get the OpenWhisk CLI
mkdir ~/wsk
curl https://openwhisk.ng.bluemix.net/cli/go/download/linux/amd64/wsk > ~/wsk/wsk
chmod +x ~/wsk/wsk
export PATH=$PATH:~/wsk
# Configure the OpenWhisk CLI
wsk property set --apihost openwhisk.ng.bluemix.net --auth "${OPENWHISK_AUTH}" --namespace "${CF_ORG}_${CF_SPACE}"
# Deploy the OpenWhisk triggers/actions/rules
cd processing
./deploy-darkvision.sh --uninstall
./deploy-darkvision.sh --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment