Skip to content

Commit fe6a928

Browse files
Changes requested by Gilbert to Dewan's guide (#878)
* Changes requested by Gilbert * Changes to Dewan's guide
1 parent a74b97c commit fe6a928

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

instructions/cloud-hosted-guide-rest-openshift/instructions.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You should see a terminal running. In case a terminal window does not open, navi
2727

2828
> Terminal -> New Terminal
2929
30-
Check you are in the **home/project** folder:
30+
Check you are in the **/home/project** folder:
3131
```
3232
pwd
3333
```
@@ -150,6 +150,7 @@ The defaultServer server is ready to run a smarter planet.
150150

151151
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:
152152

153+
```
153154
{
154155
...
155156
"user.timezone": "Etc/UTC",
@@ -158,6 +159,7 @@ Click on the **Launch Application** tab at the top and enter **9080** for the po
158159
"server.output.dir": "/opt/ol/wlp/output/defaultServer/",
159160
...
160161
}
162+
```
161163

162164
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.
163165

@@ -217,6 +219,8 @@ oc logs -f build/rest-quicklab-1
217219

218220
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.
219221

222+
Exit the logs by pressing **Ctrl+C**.
223+
220224

221225
Create a new OpenShift app from the build using the following command
222226

@@ -249,7 +253,11 @@ Your app URL will look something like the following:
249253
rest-quicklab-sn-labs-<your-userID>.sn-labs-user-sandbox-pr-a45631dc5778dc6371c67d206ba9ae5c-0000.tor01.containers.appdomain.cloud
250254
```
251255

252-
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.
253261

254262
```
255263
/LibertyProject/system/properties-new

0 commit comments

Comments
 (0)