cancel
Showing results for 
Search instead for 
Did you mean: 

Issue while trying tutorial: "Deploy in SAP BTP, Cloud Foundry Runtime"

Manish_Sehgal
Product and Topic Expert
Product and Topic Expert
0 Kudos
134

Hello There,

I am new to SAP BTP development. I am using trial account and I am facing issue while trying following tutorial:

Deploy in SAP BTP, Cloud Foundry Runtime

I have deployed a new Full Stack Cloud Application dev space. On step 3.3, I do not see any files/directories under app directory.

 

user: INCIDENT-MANAGEMENT $ ls -la
total 184
drwxr-xr-x   9 user group   4096 Feb  7 19:26 .
drwxr-xr-x   3 user group   4096 Feb  7 19:26 ..
drwxr-xr-x   2 user group   4096 Feb  7 19:26 .gen
-rw-r--r--   1 user group    326 Feb  7 19:26 .gitignore
drwxr-xr-x   2 user group   4096 Feb  7 19:26 .pipeline
drwxr-xr-x   2 user group   4096 Feb  7 19:26 .vscode
-rw-r--r--   1 user group    470 Feb  7 19:26 Jenkinsfile
-rw-r--r--   1 user group    674 Feb  7 19:26 README.md
drwxr-xr-x   2 user group   4096 Feb  7 19:26 app
drwxr-xr-x   3 user group   4096 Feb  7 19:26 db
-rw-r--r--   1 user group     83 Feb  7 19:26 eslint.config.mjs
-rw-r--r--   1 user group   3752 Feb  7 19:28 mta.yaml
drwxr-xr-x 116 user group   4096 Feb  7 19:26 node_modules
-rw-r--r--   1 user group 124575 Feb  7 19:26 package-lock.json
-rw-r--r--   1 user group    622 Feb  7 19:28 package.json
drwxr-xr-x   2 user group   4096 Feb  7 19:26 srv
user: INCIDENT-MANAGEMENT $ less mta.yaml 
user: INCIDENT-MANAGEMENT $ ls
Jenkinsfile  README.md  app  db  eslint.config.mjs  mta.yaml  node_modules  package-lock.json  package.json  srv
user: INCIDENT-MANAGEMENT $ cd app
user: app $ ls
user: app $ 

 

Is there something I am missing?

Thanks,

Manish

Accepted Solutions (0)

Answers (1)

Answers (1)

kristiyan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @Manish_Sehgal 

 

Did you check the previous tutorial?

https://developers.sap.com/tutorials/prepare-btp-cf.html

 

Do you use  an enterprise global account as I saw this is a prerequisite?

Did you run cds add workzone-standard? What was the result?

Here is an another project example - https://github.com/SAP-samples/cloud-cap-samples-java/tree/main

 

Hope this can help!

Best regards,

Kristiyan

 

Svetoslav-Pandeliev
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @Manish_Sehgal,

Adding to @kristiyan 's comment about prerequisites, did you also follow the steps in the Develop a Full-Stack CAP Application Following SAP BTP Developer’s Guide | SAP Tutorials group of tutorials which is a prerequisite to the deployment steps?

Having an empty app folder suggests you might have not created the Fiori elements apps that is described in detail in Add SAP Fiori Elements UIs | SAP Tutorials.

Hope this helps.

Best regards,
Sveto