Skip to content

Commit 590bd4e

Browse files
committed
rework tutorial with new repo
1 parent 5c282dd commit 590bd4e

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed
-19.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

tutorials/cp-cf-dev-01-prepare-app/cp-cf-dev-01-prepare-app.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In this tutorial, you'll download a simple Node.js app from GitHub that returns
2121

2222
The sample app is available in a repository on GitHub.
2323

24-
Open it up at this URL: <https://github.com/SAP/cf-sample-app-nodejs>.
24+
Open it up at this URL: <https://github.com/SAP-samples/cf-sample-app-nodejs>.
2525

2626
[DONE]
2727
[ACCORDION-END]
@@ -32,7 +32,7 @@ This tutorial is preparing the app for deployment to the SAP BTP, Cloud Foundry
3232

3333
Choose **Clone or download** and then choose **Download ZIP**.
3434

35-
![Download sample files](Download-sample-files2.png)
35+
![Download sample files](download-zip.png)
3636

3737
Enter the name of the file you just downloaded and choose **Validate**.
3838

@@ -42,9 +42,7 @@ Enter the name of the file you just downloaded and choose **Validate**.
4242

4343
[ACCORDION-BEGIN [Step 3: ](Extract sample files)]
4444

45-
Open the zip file and extract its content to a folder on your local computer. You will have extracted a folder named `cf-sample-app-nodejs-master`.
46-
47-
![Download sample files](Extraction-sample-files.PNG)
45+
Open the zip file and extract its content to a folder on your local computer. You will have extracted a folder named `cf-sample-app-nodejs-main`.
4846

4947
[DONE]
5048
[ACCORDION-END]
@@ -69,18 +67,23 @@ The host name for your app must be unique within a combination of region and run
6967

7068
If someone else is already using that hostname within that region and runtime, you won't be able to deploy your application.
7169

72-
1. Add a parameter named `host` to the `manifest.yml` file and provide a unique value. For example, use your birth date or a random number or string or incorporate your user ID:
73-
74-
![Some alternative text](Add-Code.jpg)
70+
Add a parameter named `host` to the `manifest.yml` file and provide a unique value. For example, use your birth date or a random number or string. The contents of the file should look something like this when you're done (and don't forget to save your changes!):
7571

76-
> The YAML format uses whitespace significantly -- make sure you format this new parameter correctly, as shown.
72+
```yaml
73+
---
74+
applications:
75+
- name: cf-nodejs
76+
memory: 192M
77+
instances: 1
78+
random-route: false
79+
host: my-unique-app-name-12345
80+
```
7781
78-
2. Don't forget to save your changes.
82+
> The YAML format uses whitespace significantly -- make sure you add this new parameter correctly, as shown.
7983
8084
[VALIDATE_5]
8185
[ACCORDION-END]
8286
8387
---
8488
8589
<p style="text-align: center;"><a href="https://sapinsights.eu.qualtrics.com/jfe/form/SV_0im30RgTkbEEHMV?TutorialID=cp-cf-dev-01-prepare-app&graphics=true" target="_blank"><img src="https://raw.githubusercontent.com/SAPDocuments/Tutorials/master/data/images/285738_Emotion_Faces_R_purple.png"></a></p>
86-
Loading

0 commit comments

Comments
 (0)