There are hardware, software and service prerequisites for participating in this CodeJam. The exercises will be shown executing in the SAP Business Application Studio as the development tool. However you can also execute them locally on your own tooling such as Microsoft VSCode or using a Dev Container or Codespace. See separate section for each of these options.
- None
-
Get a free SAP Business Technology Platform trial account (if you don't already have one):
In this exercise variant you will install all development tools locally in your laptop and develop test there. Unfortunately the SAP HANA Graphical Calculation View Editor is not supported as a VSCode Extension yet, so those steps must be performed in the SAP Business Application Studio. However the rest of the exercises are possible locally.
- None
-
Ensure that you have Node.js ver 12, 14 or 16 installed locally. In case of problems, see the Troubleshooting guide for CAP.
In this scenario you will develop locally but we will reduce the amount of setup steps and tools you need to install by using development containers. This uses Docker Desktop and VSCode extensions provided by Microsoft to configure and remotely connect VSCode to this a container.
- If running on arm64/Apple Silicon (otherwise known as the Apple M1), the please change the devcontainer.json file and the VARIANT value from
16-buster
to16-bullseye
after cloning and starting the Dev Container
-
A Docker based container orchestration tool such as Docker Desktop on Windows and MacOS or Docker for Linux on Linux
The license for Docker Desktop has changed - see Docker is Updating and Extending Our Product Subscriptions for an overview.
-
When the project opens in VSCode you should receive a dialog in the lower right corner that the "Folder contains a Dev Container". Choose to
Reopen in Container
-
TO-DO Add step for starting local devcontainer (I don't have Docker Desktop currently installed)
This is a bit of a hybrid scenario. It uses the Dev Container configuration but runs the Dev Container and development tools in the cloud via GitHub Codespaces. It has the ease of starting similar to SAP Business Application Studio and its Dev Spaces, but allows for more customization of the environment and usage of a larger range of VSCode Extensions.
- None
-
From GitHub choose the option to create a new codespace. TO-DO Add screenshot once repo is Public.
-
You can then use this codespace from the browser or open it remotely in your locally VSCode installation. The codespace will be pre-configured with the correct Node.js runtime, all other development tools and already has the project cloned into it.