The code listings in this book can be found under chapter13 directory at https://github.com/PacktPublishing/Hands-On-Enterprise-Application-Development-with-Python.
The code samples can be cloned by running the following command:
git clone https://github.com/PacktPublishing/Hands-On-Enterprise-Application-Development-with-Python
Additionally, for the code to execute successfully, some additional software will be required:
- Docker: Docker is required as a dependency to run the OpenWhisk software platform for the deployment of the serverless applications. To install docker on your platform, please take a look at https://docs.docker.com/install/.
- Apache OpenWhisk: Apache OpenWhisk provides an open source platform for running serverless applications. For our examples, we are going to use the OpenWhisk project to provide us with a mechanism for running the code examples. To set up OpenWhisk on the system, please perform the following steps:
- Clone the Project installer from GitHub by executing the following command:
git clone https://github.com/apache/incubator-OpenWhisk-devtools.git
- cd into the docker-compose directory inside the project by running the following command:
cd incubator-OpenWhisk-devtools/docker-compose
- Execute the following command:
make quick-start
These steps will help you get the OpenWhisk project set up and running along with the required tools to interact with the OpenWhisk.