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

Doing manual deployments


In the Configuring the default Git branch for deployment recipe, under the There's more... section, we looked at how to turn off autodeployment using the --no-auto-deploy option with the rhc app-configure command. What do you do if you want to deploy the application after switching off autodeployment? One solution would be to reconfigure the application to autodeploy by running the rhc app-configure –auto-deploy command. This solution is good if you want to perform autodeployment from now on, but if you want to manage deployment yourself, the --auto-deploy option is not a solution. In this recipe, you will learn how to manually deploy the application to OpenShift.

Getting ready

To complete this recipe, you will need rhc installed on your machine. Also, you will need the application you created in the Creating an OpenShift application using the rhc command-line client recipe.

How to do it…

Perform the following steps to perform manual deployments:

  1. Open a command-line terminal...