Switching OpenWhisk Environments

When developing with OpenWhisk, it’s useful to use separate environments for working locally or on the cloud for development, staging, and production of your application. In OpenWhisk terms, this means setting the host and the API key for your wsk command line application.
 $ wsk property set –apihost $host –auth $key
(Of course, for live and staging, ideally, you will be using a build server!)

Link: https://dzone.com/articles/switching-openwhisk-environments?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev