Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

Commit c7fa25b

Browse files
authored
Merge pull request #7 from maxstreifeneder/master
added more precise comments based on CodeJam in Bratislava
2 parents 62cc7cf + ed27d9b commit c7fa25b

File tree

9 files changed

+17
-2
lines changed

9 files changed

+17
-2
lines changed

exercises/01/command-palette.png

31.6 KB
Loading

exercises/01/install-code-path.png

33.8 KB
Loading

exercises/01/readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ When successfully installed, you should see the extension thus:
8181

8282
![CDS Language Support extension installed in VS Code](vscode-extension.png)
8383

84+
To be able to open VS Code from the OS command line you need to add the installation path of VS Code to the environment variable PATH. There's an option to do this via the `Command Palette` in VS Code.
85+
86+
Open the `Command Palette` by pressing `Ctrl-Shift-P` (Windows) or ⇧⌘P (macOS) in VS Code. You can also open it via the menu bar: View -> Command Palette.
87+
88+
![Command Palette navigation in the menu bar](command-palette.png)
89+
90+
A success message for the process should then appear at the bottom right of the screen.
91+
92+
![message that the 'code' command was successfully installed](sucessfully-installed.png)
93+
8494
### 3. Verify your development environment
8595

8696
:point_right: Run the following command from the terminal to check whether all required tools are installed.
9.06 KB
Loading

exercises/02/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ After completing these steps you'll be familiar with how you can use the CDS com
1414

1515
### 1. Initialize a new CAP project
1616

17+
Before you start creating a new project we recommend that you create a dedicated directory for this CodeJam within your users directory instead of any system directories (e.g. DO NOT work in C:\Windows\System32).
18+
1719
The first thing to do in any new CAP based project is to initialize that project by indirectly creating a directory with various basic files in it. This can be achieved with the CDS command line tool `cds` which you installed in [exercise 01](../01/).
1820

1921
The `cds` tool should be available in your executable path, having been installed as part of the Node.js `@sap/cds` package in the [previous exercise](../01/).

exercises/04/raw-option.png

72.1 KB
Loading

exercises/04/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The SAP Cloud Application Programming Model adopts a "convention over configurat
1616

1717
:point_right: Create a `csv/` directory within the `db/` directory, and copy into it the CSV files (from this repository) [my.bookshop-Books.csv](my.bookshop-Books.csv) and [my.bookshop-Authors.csv](my.bookshop-Authors.csv). Use the "Raw" link from within each of these GitHub resources to get the actual CSV data to download (and don't forget to ensure the `.csv` extension is used for the files that you save).
1818

19+
![raw option on the CSV pages](raw-option.png)
20+
1921
Your directory structure should then look something like this (the screenshot also shows the content of the two CSV files):
2022

2123
![the CSV files in the right place](csv-files.png)

exercises/10/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ At the end of these steps, your project will be deployed to SAP Cloud Platform C
1010

1111
### 1. Sign in to Cloud Foundry
1212

13-
:point_right: Run the following command from your command line to log in to the referenced Cloud Foundry endpoint. When prompted use your SAP Cloud Platform credentials
13+
:point_right: Run the following command from your command line to log in to the referenced Cloud Foundry endpoint. When prompted use your SAP Cloud Platform credentials.
14+
1415
```
1516
cf login -a https://api.cf.eu10.hana.ondemand.com
1617
```

prerequisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ There are hardware and software prerequisites for participating in this CodeJam.
66

77
Each participant should have their own laptop with enough admin privileges to be able to install software. You should also be able to access a command line shell (e.g. `cmd.exe` on Windows). The laptop should also be able to connect to the host organization's guest network for Internet access, and have enough power for the whole day.
88

9-
## Cloud Platform
9+
## SAP Cloud Platform
1010

1111
Each attendee should have an SAP Cloud Platform trial account, and specifically a Cloud Foundry environment with an organization and a space defined. See the following tutorials for more details:
1212

0 commit comments

Comments
 (0)