CDS Commands to Create and Deploy the CAP Application.

In this document, We will see all the commands which can be used to create and deploy a CAP Application.

Creating a CAP App -

Now, go inside the Folder, and install the dependencies.

After creating the Schema, if you want to generate csv file to store sample data -

To deploy the db data in SQLite server-

add the below line of code in package.json file below the script object

Use the below line of command to deploy it.

To add Hana, mta file, xsuaa and approuter file

To Deploy the app -

Command to update and lock the package lock file -

To Build and generate Build File -

To Deploy the Build File -

And it is done !!!