Created
November 8, 2016 16:55
-
-
Save l2fprod/06103c2d40b68687f6f16caf5b15b890 to your computer and use it in GitHub Desktop.
A toolchain for Dark Vision
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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