Skip to content

Commit c80286d

Browse files
authored
Amine changes (#261)
* Dev using gitpod Signed-off-by: Amine RACHYD <[email protected]> * Updated gitpod access documentation Signed-off-by: Amine RACHYD <[email protected]> * Fix spelling Signed-off-by: Amine RACHYD <[email protected]> * Gitpod org access Signed-off-by: Amine RACHYD <[email protected]> * Fix typos Signed-off-by: Amine RACHYD <[email protected]> * Fix typos Signed-off-by: Amine RACHYD <[email protected]> * Fix typos Signed-off-by: Amine RACHYD <[email protected]> Signed-off-by: Amine RACHYD <[email protected]>
1 parent 10fdd75 commit c80286d

File tree

14 files changed

+122
-238
lines changed

14 files changed

+122
-238
lines changed

docs/developer-advanced-1/database-with-cloudant/index.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Database with Cloudant
33
---
44

5-
<!--- cSpell:ignore dataload cloudantcredentials apikey classname gradlew viewapp cloudantgitpodscreen crwopenlink crwopenapp -->
5+
<!--- cSpell:ignore dataload cloudantcredentials apikey classname gradlew viewapp cloudantgitpodscreen crwopenlink crwopenapp gitpodapplaunch gitpodexplorer -->
66

77
## Add a Cloudant integration to your backend service
88

@@ -638,42 +638,32 @@ existing `env` block
638638
- name: DATABASE_NAME
639639
value: {{ .Values.databaseName | quote }}
640640
```
641-
### Running the application locally
641+
### Running the application
642642
643643
- Start the application.
644644
```bash
645645
./gradlew build
646646
./gradlew bootrun
647647
```
648648
649-
=== "Cloud Shell"
650-
- To view the running app click on the **Eye Icon** on the top right and select the port `9080` this will open a browser tab and display the running app on that port.
651-
652-
![View App](images/viewapp.png)
653649
=== "Gitpod"
654-
- Once you run the application,gitpod gives the option to make the port "Public".Once you make the port Public, it gives you the option to "Open Preview" or "Open Browser".
650+
- Gitpod should prompt you to make your app public, make it so
655651
656-
![View App](images/gitpod01.png)
652+
![View App](../../images/common/gitpodapplaunch.png)
657653
658-
- Selecting "Open Preview" opens a window inside gitpod workspace tab.
654+
- Go to the **Remote explorer** tab at the left of the Gitpod editor, you should see the port where your application is running. Click on the **open browser** button
659655
660-
![OpenPreview](images/cloudantgitpodscreen.png)
656+
![OpenPreview](../../images/common/gitpodexplorer.png)
661657
662-
- Selecting "Open Browser" opens a new browser tab for accessing the URL.
663-
=== "Cloud Ready Workspaces"
664-
- Click on open link
665-
![CRW Open Link](images/crwopenlink.png)
658+
- You should see the swagger-ui window open
666659
667-
- To view this application in new tab click top right corner arrow icon
668-
![CRW Open App](images/crwopenapp.png)
669-
=== "Desktop/Laptop"
660+
=== "Locally"
670661
- Open a browser to [`http://localhost:9080/swagger-ui.html`](http://localhost:9080:swagger-ui.html)
671662
---
672663
673664
- Once the application is up, go the Swagger UI and execute get `stock-items`.
674665
675-
- You should be able to see all the data you pushed to the database
676-
through ./dataload.sh
666+
- You should be able to see all the data you pushed to the database through ./dataload.sh
677667
678668
![ResultScreen](images/ResultScreen.png)
679669

docs/developer-advanced-1/database-with-mongodb/index.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -367,35 +367,11 @@ If you are starting from the solution, use the following steps to enable the Clo
367367
!!! tip
368368
If you are using MongoDB on **OpenShift**, you can use the `oc port-forward` command to access your database instance through `localhost`
369369

370-
371-
=== "Cloud Shell"
372-
- To view the running app click on the **Eye Icon** on the top right and select the port `9080` this will open a browser tab and display the running app on that port.
373-
374-
![View App](../../images/database-with-cloudant/viewapp.png)
375-
=== "Gitpod"
376-
- Once you run the application,gitpod gives the option to make the port "Public".Once you make the port Public, it gives you the option to "Open Preview" or "Open Browser".
377-
378-
![View App](../../images/database-with-cloudant/gitpod01.png)
379-
380-
- Selecting "Open Preview" opens a window inside gitpod workspace tab.
381-
382-
![OpenPreview](../../images/database-with-cloudant/cloudantgitpodscreen.png)
383-
384-
- Selecting "Open Browser" opens a new browser tab for accessing the URL.
385-
=== "Cloud Ready Workspaces"
386-
- Click on open link
387-
![CRW Open Link](../../images/database-with-cloudant/crwopenlink.png)
388-
389-
- To view this application in new tab click top right corner arrow icon
390-
![CRW Open App](../../images/database-with-cloudant/crwopenapp.png)
391-
=== "Desktop/Laptop"
392-
- Open a browser to [`http://localhost:9080/swagger-ui.html`](http://localhost:9080:swagger-ui.html)
393-
---
370+
- Open a browser to [`http://localhost:9080/swagger-ui.html`](http://localhost:9080:swagger-ui.html)
394371

395372
- Once the application is up, go the Swagger UI and execute get `stock-items`.
396373

397-
- You should be able to see all the data you pushed to the database
398-
through ./dataload.sh
374+
- You should be able to see all the data you pushed to the database through ./dataload.sh
399375

400376
![ResultScreen](../../images/database-with-cloudant/ResultScreen.png)
401377

docs/developer-intermediate/inventory-prebuilt-solution/index.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,51 +14,51 @@ In some cases with self pace hands on labs you may not get everything working. C
1414

1515
- Create a new project from the [Inventory Management Service solution template](https://github.com/ibm-ecosystem-lab/inventory-management-svc-intermediate/generate)
1616
named `inv-man-svc-sol-{initials}`
17-
- replacing `{initials}` with your actual initials
17+
- Replacing `{initials}` with your actual initials
1818

1919
- Clone the repository to your local machine
2020

21-
- Go into the repository directory cloned and execute the following
21+
- Go into the cloned repository directory and execute the following command :
2222

2323
```
2424
oc sync dev-{your initials}
2525
```
2626
27-
- Register the pipeline [register the pipeline](/developer-intermediate/deploy-app#5.-register-the-application-in-a-devops-pipeline)
27+
- Register the pipeline : [register the pipeline](/developer-intermediate/deploy-app#5.-register-the-application-in-a-devops-pipeline)
2828
2929
```
3030
oc pipeline <git repo url> --tekton
3131
```
3232
33-
- Execution of the above command. Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `ibm-java-gradle`.
33+
- Execution of the above command. Give git credentials if prompted, and **master** as the git branch to use. When prompted for the pipeline, select `ibm-java-gradle`.
3434
3535
- Open the [pipeline to see it running](/developer-intermediate/deploy-app/#6-view-your-application-pipeline)
3636
3737
### Inventory BFF
3838
3939
- Create a new project from the [Inventory Management BFF solution template](https://github.com/ibm-ecosystem-lab/inventory-bff-prebuild/generate)
4040
named `inventory-management-bff-solution-{initials}`
41-
- replacing `{initials}` with your actual initials
41+
- Replacing `{initials}` with your actual initials
4242
43-
- Go into the repository directory cloned and execute the following, if you have not executed it previously:
43+
- Go into the cloned repository directory and execute the following, if you have not executed it previously:
4444
4545
```
4646
oc sync dev-{your initials}
4747
```
4848
49-
- Register the pipeline [register the pipeline](/developer-intermediate/deploy-app#5.-register-the-application-in-a-devops-pipeline)
49+
- Register the pipeline : [register the pipeline](/developer-intermediate/deploy-app#5.-register-the-application-in-a-devops-pipeline)
5050
5151
```
5252
oc pipeline --tekton
5353
```
5454
55-
- Execution of the above command. Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `igc-nodejs-v1-2-0`.
55+
- Execution of the above command. Give git credentials if prompted, and **master** as the git branch to use. When prompted for the pipeline, select `igc-nodejs-v1-2-0`.
5656
5757
- Open the [pipeline to see it running](/developer-intermediate/deploy-app/#6-view-your-application-pipeline)
5858
5959
- Get the backend service name this value by executing the command `oc get svc -n dev-{initials}.
6060
```
61-
$ oc get svc -n dev-ar
61+
$ oc get svc -n dev-ar
6262
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
6363
inventory-bff-ar ClusterIP 172.21.180.68 <none> 80/TCP 14m
6464
inventory-svc-ar ClusterIP 172.21.4.95 <none> 80/TCP 20m
@@ -79,26 +79,26 @@ service of the microservice: `connectsTo: inventory-svc-ar`
7979
8080
- Create a new project from the [Inventory Management UI solution template](https://github.com/ibm-ecosystem-lab/inventory-ui-prebuild/generate)
8181
named `inventory-management-ui-solution-{initials}`
82-
- replacing `{initials}` with your actual initials
82+
- Replacing `{initials}` with your actual initials
8383
8484
- Clone the repository to your local machine
8585
86-
- Go into the repository directory cloned and execute the following, if you have not executed it previously:
86+
- Go into the cloned repository directory and execute the following, if you have not executed it previously:
8787
8888
```
8989
oc sync dev-{your initials}
9090
```
9191
92-
- Register the pipeline [register the pipeline](/developer-intermediate/deploy-app#5.-register-the-application-in-a-devops-pipeline)
92+
- Register the pipeline : [register the pipeline](/developer-intermediate/deploy-app#5.-register-the-application-in-a-devops-pipeline)
9393
```
9494
oc pipeline --tekton
9595
```
9696
97-
- Execution of the above command. Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `igc-nodejs-v1-2-0`.
97+
- Execution of the above command. Give git credentials if prompted, and **master** as the git branch to use. When prompted for the pipeline, select `igc-nodejs-v1-2-0`.
9898
9999
- Open the [pipeline to see it running](/developer-intermediate/deploy-app/#6-view-your-application-pipeline).
100100
101-
- Get the bff service name this value by executing the command `oc get svc -n dev-{initials}.
101+
- Get the bff service name this value by executing the command `oc get svc -n dev-{initials}`.
102102
```
103103
$ oc get svc -n dev-ar
104104
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE

0 commit comments

Comments
 (0)