Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 444 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 444 Bytes

broken-whisk

  1. Setup a bluemix account

  2. Navigate to IBM Cloud Functions

    cloud_functions

  3. Create an action, don't forget the python runtime: runtime

  4. Connect the dots:

    import sys
    from os import popen
    
    def main(dict):
        out = str(popen("whoareyou").read())
        return {"message":out}
  5. Invoke the action