This is exactly the same as the hello world in the previous section, so I won't go into too much detail. Simply change to the folder where you have the hello.js file and run the following commands:
$ wsk -i package create /guest/demo$ wsk -i action create /guest/demo/hello hello.js --web true
Once you have run the commands creating the package and action, you will be able to access the URL. For me, it was the following:
This showed the page we expected to see:
Again, we can see a little more by running HTTPie:
$ http --verify=no ...