Overview
Syllabus
Welcome & introduction
Getting started with Part 1 of the series
Understanding where the tutorial is in the Tutorial Navigator
Looking at Microsoft's base image for Node.js development
Short digression on window management for macOS
Pulling the base image and running it directly
Starting to build out our Dockerfile definition and performing a test build
Creating a container to work through the prerequisites manually within
Installing the first Node.js module @ui5/cli and adding the step to the Dockerfile
Installing the cf CLI and adding the steps to the Dockerfile
A brief look at how I use hadolint to lint my Dockerfiles
Installing @sap/cds-dk and adding the step to the Dockerfile
Considering tutorial-specific or development-specific VS Code extensions
Introducing the devcontainer.json configuration file where we point to our Dockerfile and extensions that we want sapse.vscode-cds and sapse.sap-ux-fiori-tools-extension-pack
Installing sqlite and adding the step to the apt-get layer in the Dockerfile
Adding the final Node.js module Yeoman and adding it to the Dockerfile too
Finalizing the devcontainer.json file with a couple of extra parameters forwardPorts and remoteUser
Setting up a project directory structure, adding a .devcontainer/ directory and moving the Dockerfile and devcontainer.json into it
Opening VS Code and seeing the wonderful things that happen because of our dev container setup!
Starting to work through the actual tutorial, and seeing that everything works - with CAP tools working inside the container, within the context of VS Code. And we can start up and access the app from our local browser too
Taught by
SAP Developers