Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

Viewing application details


In this recipe, you will learn how to view all the details related to an application.

Getting ready

To step through this recipe, you will need rhc installed on your machine. Also, we will make use of the OpenShift application created in the Creating an OpenShift application using the rhc command-line client recipe.

How to do it…

The rhc show-app command can be used to view the information details about the application, as follows:

$ rhc show-app --app myapp

The --app option is not required if you are running the command within the application Git repository.

How it works…

The rhc show-app command returns all the details about an application. The output of the command is shown as follows. The details include the application creation time, application name, public URL, Git repository URL, SSH URL, and details about all the cartridges:

rhc show-app --app myapp
myapp @ http://myapp-osbook.rhcloud.com/ (uuid: 52f08f184382ecb8e9000239)
-----------------------------------...