mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * tutorials/dev-app-cli.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="getting-started-cli-view_{context}"]
|
|
= Viewing the application in a web browser
|
|
|
|
After you have deployed the necessary applications and loaded data into the database, you are now ready view the national parks application through a browser.
|
|
|
|
You can get the URL for the application by retrieving the route information for the front-end application.
|
|
|
|
.Prerequisites
|
|
|
|
* You have deployed the `parksmap` front-end application.
|
|
* You have deployed the `nationalparks` back-end application.
|
|
* You have deployed the `mongodb-nationalparks` database application.
|
|
* You have loaded the data into the `mongodb-nationalparks` database.
|
|
|
|
.Procedure
|
|
|
|
. Get your route information to retrieve your map application URL by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get route parksmap
|
|
----
|
|
+
|
|
.Example output
|
|
+
|
|
[source,terminal]
|
|
----
|
|
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
|
|
parksmap parksmap-user-getting-started.apps.cluster.example.com parksmap 8080-tcp edge None
|
|
----
|
|
|
|
. From the above output, copy the value in the `HOST/PORT` column. Because the route is a secured route, you must add `https://` in front to get the application URL.
|
|
+
|
|
.Example application URL
|
|
[source,text]
|
|
----
|
|
https://parksmap-user-getting-started.apps.cluster.example.com
|
|
----
|
|
|
|
. Paste this application URL into your web browser. Your browser should display a map of the national parks across the world.
|
|
+
|
|
.National parks across the world
|
|
image::getting-started-map-national-parks.png[A map of the national parks across the world is displayed with location tracking.]
|