Skip to content

Commit cbbe054

Browse files
authored
Update btp-app-kyma-deploy-application.md
1 parent 81a96cd commit cbbe054

1 file changed

Lines changed: 37 additions & 35 deletions

File tree

tutorials/btp-app-kyma-deploy-application/btp-app-kyma-deploy-application.md

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ You need to set the environment variable for the container registry.
7777

7878
1. Open a terminal and run the following command:
7979

80-
```Shell/Bash
81-
CONTAINER_REGISTRY=<Container Registry>
82-
```
80+
```Shell/Bash
81+
CONTAINER_REGISTRY=<Container Registry>
82+
```
8383

8484
2. Refer to [Configure Container Image](btp-app-#configure-container-image) for details on finding `<Container Registry>`.
8585

@@ -89,17 +89,17 @@ CONTAINER_REGISTRY=<Container Registry>
8989
[ACCORDION-BEGIN [Step 3: ](CAP build)]
9090
1. Execute the following command in your project folder:
9191

92-
```Shell/Bash
93-
cds build --production
94-
```
92+
```Shell/Bash
93+
cds build --production
94+
```
9595

9696
You should get an output like: `[cds] - build completed in XXX ms`.
9797

9898
2. (Optional) Run the following command to remove the test data:
9999

100-
```Shell/Bash
101-
rm -rf gen/db/data
102-
```
100+
```Shell/Bash
101+
rm -rf gen/db/data
102+
```
103103

104104
> Although the app will work with the test data, usually test data should be removed before deployment.
105105
@@ -111,35 +111,35 @@ rm -rf gen/db/data
111111
[ACCORDION-BEGIN [Step 4: ](Build CAP service)]
112112
1. Run the following command:
113113

114-
```Shell/Bash
115-
pack build $CONTAINER_REGISTRY/cpapp-srv --path gen/srv \
116-
--buildpack gcr.io/paketo-buildpacks/nodejs \
117-
--builder paketobuildpacks/builder:base
118-
```
114+
```Shell/Bash
115+
pack build $CONTAINER_REGISTRY/cpapp-srv --path gen/srv \
116+
--buildpack gcr.io/paketo-buildpacks/nodejs \
117+
--builder paketobuildpacks/builder:base
118+
```
119119

120120
2. You should get an output like:
121121

122-
```Shell/Bash
123-
Successfully built image <Container Registry>/cpapp-srv
124-
```
122+
```Shell/Bash
123+
Successfully built image <Container Registry>/cpapp-srv
124+
```
125125

126126
[DONE]
127127
[ACCORDION-END]
128128
---
129129
[ACCORDION-BEGIN [Step 5: ](Build DB deployer)]
130130
1. Run the following command:
131131

132-
```Shell/Bash
133-
pack build $CONTAINER_REGISTRY/cpapp-hana-deployer --path gen/db \
134-
--buildpack gcr.io/paketo-buildpacks/nodejs \
135-
--builder paketobuildpacks/builder:base
136-
```
132+
```Shell/Bash
133+
pack build $CONTAINER_REGISTRY/cpapp-hana-deployer --path gen/db \
134+
--buildpack gcr.io/paketo-buildpacks/nodejs \
135+
--builder paketobuildpacks/builder:base
136+
```
137137

138138
2. You should get an output like:
139139

140-
```Shell/Bash
141-
Successfully built image <Container Registry>/cpapp-hana-deployer
142-
```
140+
```Shell/Bash
141+
Successfully built image <Container Registry>/cpapp-hana-deployer
142+
```
143143

144144
[DONE]
145145
[ACCORDION-END]
@@ -149,26 +149,26 @@ Now that we've build the docker images, let's push them to the container registr
149149

150150
1. Make sure you're logged in to your container registry:
151151

152-
```Shell/Bash
153-
docker login
154-
```
152+
```Shell/Bash
153+
docker login
154+
```
155155

156156
2. Push the images to container registry:
157157

158-
```Shell/Bash
159-
docker push $CONTAINER_REGISTRY/cpapp-srv
160-
docker push $CONTAINER_REGISTRY/cpapp-hana-deployer
161-
```
158+
```Shell/Bash
159+
docker push $CONTAINER_REGISTRY/cpapp-srv
160+
docker push $CONTAINER_REGISTRY/cpapp-hana-deployer
161+
```
162162

163163
[DONE]
164164
[ACCORDION-END]
165165
---
166166
[ACCORDION-BEGIN [Step 7: ](Deploy)]
167167
1. Deploy your app:
168168

169-
```Shell/Bash
170-
helm upgrade cpapp ./chart --install
171-
```
169+
```Shell/Bash
170+
helm upgrade cpapp ./chart --install
171+
```
172172

173173
2. Copy the app URL when done and paste it into a new browser window:
174174

@@ -207,6 +207,8 @@ In case you encounter an error during the deployment process, follow the instruc
207207
[ACCORDION-END]
208208
---
209209
[ACCORDION-BEGIN [Step 8: ](Check your database deployment)]
210+
Check you database deployment using:
211+
210212
```
211213
kubectl get jobs
212214
```

0 commit comments

Comments
 (0)