@@ -77,9 +77,9 @@ You need to set the environment variable for the container registry.
7777
78781 . 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
84842 . 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)]
90901 . 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
9696You should get an output like: ` [cds] - build completed in XXX ms ` .
9797
98982 . (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)]
1121121 . 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
1201202 . 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)]
1301301 . 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
1381382 . 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
1501501 . 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
1561562 . 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 )]
1671671 . 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
1731732 . 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```
211213kubectl get jobs
212214```
0 commit comments