You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instructions/cloud-hosted-guide-rest-openshift/instructions.md
+10-2
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ You should see a terminal running. In case a terminal window does not open, navi
27
27
28
28
> Terminal -> New Terminal
29
29
30
-
Check you are in the **home/project** folder:
30
+
Check you are in the **/home/project** folder:
31
31
```
32
32
pwd
33
33
```
@@ -150,6 +150,7 @@ The defaultServer server is ready to run a smarter planet.
150
150
151
151
Click on the **Launch Application** tab at the top and enter **9080** for the port. This will take you to the OpenLiberty landing page (some images might not load properly due to the page being loaded via proxy). To view the system properties, append **/LibertyProject/system/properties-new** after the URL and you should be seeing a long list of parameters like below:
152
152
153
+
```
153
154
{
154
155
...
155
156
"user.timezone": "Etc/UTC",
@@ -158,6 +159,7 @@ Click on the **Launch Application** tab at the top and enter **9080** for the po
For better readability, install a plug-in for viewing JSON on your browser. Remember to stop the server when you're done by either pressing **ctrl+c** or from entering the following command into a new command line in the **guide-docker/finish** dir.
This logs-stream should end with **Push successful** message (the build process might take between two to three minutes to complete) and this is the indication that the image was built and has been pushed to OpenShift internal image registry.
219
221
222
+
Exit the logs by pressing **Ctrl+C**.
223
+
220
224
221
225
Create a new OpenShift app from the build using the following command
222
226
@@ -249,7 +253,11 @@ Your app URL will look something like the following:
Navigate to that URL (refresh the page if it didn't load on the first try) and you should see the OpenLiberty page that gets generated from the base image. Append **/LibertyProject** after the URL and you should see a page with "Welcome to your Liberty Application" message. Finally, the following subURL should show you a list of system properties from the machine the OpenLiberty server is running on. For best viewing result, you can install a JSON viewer tool to your browser.
256
+
Navigate to that URL.
257
+
258
+
**NOTE: Please allow up to a couple minutes for your application page to launch.**
259
+
260
+
You should see the OpenLiberty page that gets generated from the base image. Append **/LibertyProject** after the URL and you should see a page with "Welcome to your Liberty Application" message. Finally, the following subURL should show you a list of system properties from the machine the OpenLiberty server is running on. For best viewing result, you can install a JSON viewer tool to your browser.
0 commit comments