This is a sample project that will be used to introduce the SAP Cloud Platform Kyma Runtime to you. It shows you how to build a sample application in PHP, Python and node.js. Furthermore it shows how to consume the Application API (Constant accross all 3 languages) on a React frontend.
All of this is deployed to the "Cloud" using Kubernetes based Kyma as a runtime.
To leverage these samples we have tried to minimize the software installation requirements by providing you with a virtual machine with all needed tools installed. Hence all you need is a "player" to execute the image on your laptop. We propose to use the available tooling of VMWare. To install them follow the below links for your respective OS and install according to instructions:
- Mac: https://my.vmware.com/web/vmware/evalcenter?p=fusion-player-personal
- Windows: https://my.vmware.com/en/web/vmware/downloads/info/slug/desktop_end_user_computing/vmware_workstation_player/16_0
This will enable you to import and work with the provided VM image that can be found here: https://sap-my.sharepoint.com/:u:/p/and_krause/ETYA5D2nJIxLvwvAGvnwlqQBGbWrMNF-ePym4TY4UA3vCw?e=MArq5s
The username/password combination for the Linux OS installed is (hacker/sap
). This VM is going to be your local work environment. You should not need to install software on your local laptop.
Kubernetes uses Docker Containers as a foundation. To make them available in cloud environments, you need an internet facing Container Registry. Docker Hub is such a registry. Create a free account on https://hub.docker.com/ to finish off the list of prerequisites.
This sample project - you need to download it and use the sample code and images. Then follow the step by step instructions in this project in order to setup and run the sample application.
This sample is installed in multiple steps:
- Pick your programming languge of choice and understand/inspect the respective sample application:
- Understand/inspect the react frontend layer
- Create and publish a Docker Image of your react frontend and the sample application
- Deploy your Application to Kyma / Kubernetes
- (Optional) Connect to a Chatbot
- (Optional) Have a look at additional resources
- Enjoy Hacking 😄
Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the SAP Sample Code License except as noted otherwise in the LICENSE file of this project.