As we have already mentioned, Apache OpenWhisk ships with a Vagrantfile that contains all of the commands to deploy a local Apache OpenWhisk installation from scratch. To download the Apache OpenWhisk repository and deploy the virtual machine, run the following commands:
$ git clone --depth=1 https://github.com/apache/incubator-openwhisk.git openwhisk$ cd openwhisk/tools/vagrant$ ./hello
This process will take anywhere up to 30 minutes depending on the speed of your internet connectivity; you can find a copy of the Vagrantfile at the following URL: https://github.com/apache/incubator-openwhisk/blob/master/tools/vagrant/Vagrantfile.
As you can see, it is just short of 200 lines long, which is a ...