Prepare Your Development Environment for CAP
Beginner
20 min.
This tutorial shows you how to get started using VS Code as an editor create a directory for development, and start from an example branch.
You will learn
- How to set up local development Using VS Code
- How to set up your environment for application development
- How to install extensions for VS Code
- How to install all required tools for UI development
- How to create a directory for development
- How to start from an example branch
Mahati ShankarFebruary 16, 2024
Prerequisites
- (For Windows) You have to install SQLite tools for Windows.
- Open the SQLite Download Page, scroll down to section Precompiled Binaries for Windows, and download the bundle of command-line tools for managing SQLite database files
sqlite-tools-win32-x86-<xxxxxxx>.zip
(where<xxxxxxx>
represents the number of SQLite’s current version). - Create a folder
C:\sqlite
and unzip the downloaded archive in this folder. - Double-click the file
sqlite.exe
, a command line window opens inC:\sqlite
with a messageConnected to a transient in-memory database.
- SQLite is installed and you can close the command line window. Checkout section How Do I Install SQLite on Windows? in the CAP documentation for more info.
- Open the SQLite Download Page, scroll down to section Precompiled Binaries for Windows, and download the bundle of command-line tools for managing SQLite database files
- (For macOS) You have to install Command-Line Tools for Xcode, because some node modules need binary modules (
node-gyp
). There are two options to install them:- Using the command line:
xcode-select --install
- Downloading Xcode (a login with your Apple ID and password is required). Search for
Command Line Tools for Xcode
.
- Using the command line:
This tutorial will soon be phased out.
For more tutorials about how to develop and deploy a full stack CAP application on SAP BTP, see:
- Develop a Full-Stack CAP Application Following SAP BTP Developer’s Guide
- Deploy a Full-Stack CAP Application in SAP BTP, Cloud Foundry Runtime Following SAP BTP Developer’s Guide
- Deploy a Full-Stack CAP Application in SAP BTP, Kyma Runtime Following SAP BTP Developer’s Guide
To continue learning how to implement business applications on SAP BTP, see: